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
|
VERSION 0.8
|
||||||
|
|
||||||
ARG NODE_VERSION=22
|
FROM alpine:edge
|
||||||
FROM node:${NODE_VERSION}-alpine
|
|
||||||
|
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
|
||||||
@ -9,7 +8,7 @@ ENV NODE_ENV="production"
|
|||||||
|
|
||||||
|
|
||||||
build:
|
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 ./
|
COPY package-lock.json package.json ./
|
||||||
RUN npm ci --include=dev
|
RUN npm ci --include=dev
|
||||||
@ -23,6 +22,8 @@ build:
|
|||||||
SAVE ARTIFACT /app
|
SAVE ARTIFACT /app
|
||||||
|
|
||||||
run:
|
run:
|
||||||
|
RUN apk -U add nodejs
|
||||||
|
|
||||||
COPY +build/app/.next/standalone /app
|
COPY +build/app/.next/standalone /app
|
||||||
COPY +build/app/.next/static /app/.next/static
|
COPY +build/app/.next/static /app/.next/static
|
||||||
COPY +build/app/public /app/public
|
COPY +build/app/public /app/public
|
||||||
|
Loading…
x
Reference in New Issue
Block a user