fix: docker build issue

This commit is contained in:
Florian Bouillon 2023-06-14 02:29:44 +02:00
parent cbb15f62d0
commit ff138ea960

View File

@ -3,7 +3,7 @@
######### #########
# Build # # Build #
######### #########
FROM docker.io/node:alpine as BUILD_IMAGE FROM node:alpine as BUILD_IMAGE
# External deps (for node-gyp add: "python3 make g++") # External deps (for node-gyp add: "python3 make g++")
# git is used to install the npm packages with git deps # git is used to install the npm packages with git deps
@ -32,7 +32,7 @@ RUN npm prune --omit=dev
############## ##############
# Production # # Production #
############## ##############
FROM docker.io/node:alpine as PROD_IMAGE FROM node:latest as PROD_IMAGE
# inform software to be in production # inform software to be in production
ENV NODE_ENV=production ENV NODE_ENV=production