Skip to content
Extraits de code Groupes Projets
Valider 3e5477e5 rédigé par Will Hunt's avatar Will Hunt
Parcourir les fichiers

Bump Dockerfile NodeJS version to 14

parent c6609ba6
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
FROM node:alpine AS BUILD FROM node:14-alpine AS BUILD
COPY . /tmp/src COPY . /tmp/src
# install some dependencies needed for the build process # install some dependencies needed for the build process
RUN apk add --no-cache -t build-deps make gcc g++ python ca-certificates libc-dev wget git RUN apk add --no-cache -t build-deps make gcc g++ python ca-certificates libc-dev wget git
...@@ -6,7 +6,7 @@ RUN cd /tmp/src \ ...@@ -6,7 +6,7 @@ RUN cd /tmp/src \
&& npm install \ && npm install \
&& npm run build && npm run build
FROM node:alpine FROM node:14-alpine
ENV NODE_ENV=production ENV NODE_ENV=production
COPY --from=BUILD /tmp/src/build /build COPY --from=BUILD /tmp/src/build /build
COPY --from=BUILD /tmp/src/config /config COPY --from=BUILD /tmp/src/config /config
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Veuillez vous inscrire ou vous pour commenter