bean
Signed-off-by: Xe Iaso <me@xeiaso.net>
This commit is contained in:
parent
0aa53b3207
commit
f94e914c6c
@ -1,7 +1,6 @@
|
||||
VERSION 0.8
|
||||
|
||||
ARG NODE_VERSION=22
|
||||
FROM node:${NODE_VERSION}-alpine
|
||||
FROM alpine:edge
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
@ -9,7 +8,7 @@ ENV NODE_ENV="production"
|
||||
|
||||
|
||||
build:
|
||||
RUN apk -U add build-base gyp pkgconfig python3
|
||||
RUN apk -U add build-base gyp pkgconfig python3 nodejs npm
|
||||
|
||||
COPY package-lock.json package.json ./
|
||||
RUN npm ci --include=dev
|
||||
@ -23,6 +22,8 @@ build:
|
||||
SAVE ARTIFACT /app
|
||||
|
||||
run:
|
||||
RUN apk -U add nodejs
|
||||
|
||||
COPY +build/app/.next/standalone /app
|
||||
COPY +build/app/.next/static /app/.next/static
|
||||
COPY +build/app/public /app/public
|
||||
|
Loading…
x
Reference in New Issue
Block a user