build: 📌 Change from alpine
This commit is contained in:
parent
08e6beddaa
commit
9260478d9e
1 changed files with 3 additions and 4 deletions
|
@ -1,4 +1,4 @@
|
|||
FROM node:19-alpine3.16 AS builder
|
||||
FROM node:19 AS builder
|
||||
|
||||
# Create app directory
|
||||
WORKDIR /app
|
||||
|
@ -10,12 +10,11 @@ COPY prisma ./prisma/
|
|||
# Install app dependencies
|
||||
RUN npm install
|
||||
|
||||
|
||||
COPY . .
|
||||
|
||||
RUN npm run build
|
||||
|
||||
FROM node:19-alpine3.16
|
||||
FROM node:19
|
||||
|
||||
COPY --from=builder /app/node_modules ./node_modules
|
||||
COPY --from=builder /app/package*.json ./
|
||||
|
|
Loading…
Add table
Reference in a new issue