Update docker file
This commit is contained in:
parent
40bd2349a3
commit
5d0ecbbd31
|
@ -1,6 +1,6 @@
|
|||
# This dockerfile only builds the javascript part of the project, so tsc and angular compilation
|
||||
|
||||
FROM node:latest AS BUILDER_STAGE1
|
||||
FROM node:18 AS BUILDER_STAGE1
|
||||
|
||||
SHELL ["/bin/bash", "-c"]
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
# Always fetch amd64 image
|
||||
FROM ghcr.io/rubikscraft/picsur-alpha-stage1:latest AS BUILDER_STAGE1
|
||||
|
||||
FROM node:alpine AS BUILDER_STAGE2
|
||||
FROM node:18-alpine AS BUILDER_STAGE2
|
||||
|
||||
RUN apk add python3 build-base
|
||||
|
||||
|
@ -12,7 +12,7 @@ COPY --from=BUILDER_STAGE1 /picsur ./
|
|||
|
||||
RUN yarn workspaces focus -A --production
|
||||
|
||||
FROM node:alpine
|
||||
FROM node:18-alpine
|
||||
|
||||
ENV PICSUR_PRODUCTION=true
|
||||
|
||||
|
|
Loading…
Reference in New Issue