Update Dockerfile to switch base image from bullseye to alpine
This commit is contained in:
parent
5d8305b9ff
commit
50b8753f98
1 changed files with 2 additions and 1 deletions
|
|
@ -1,8 +1,9 @@
|
|||
FROM node:lts-bullseye AS base
|
||||
FROM node:lts-alpine AS base
|
||||
|
||||
# Dependencies stage
|
||||
# This stage is used to install dependencies and prepare the environment
|
||||
FROM base AS deps
|
||||
RUN apk add --no-cache libc6-compat openssl
|
||||
WORKDIR /app
|
||||
COPY package*.json package-lock.json* ./
|
||||
RUN npm ci
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue