Mise à jour de l'image docker

This commit is contained in:
2020-10-06 19:35:58 +02:00
parent 1b9883b2ee
commit d9cce44a0b

View File

@@ -1,7 +1,7 @@
FROM alpine
RUN apk add --update nodejs npm
ADD . .
RUN npm install
FROM alpine:latest
RUN apk add nodejs npm --no-cache
COPY . .
RUN npm install --only=prod
CMD ["node", "index.js"]
EXPOSE 9591