diff --git a/support/picsur-stage1.Dockerfile b/support/picsur-stage1.Dockerfile index d12597c..d7414cd 100644 --- a/support/picsur-stage1.Dockerfile +++ b/support/picsur-stage1.Dockerfile @@ -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"] diff --git a/support/picsur-stage2.Dockerfile b/support/picsur-stage2.Dockerfile index d45f5d8..ea00a0c 100644 --- a/support/picsur-stage2.Dockerfile +++ b/support/picsur-stage2.Dockerfile @@ -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