1
0
Fork 0
mirror of https://github.com/pawelmalak/flame.git synced 2025-08-08 20:25:16 +02:00

Update Dockerfile for smaller image

This commit is contained in:
Ekrem Parlak 2021-11-01 15:13:06 +01:00
parent 88694c7e27
commit 1d70bd132a
2 changed files with 13 additions and 1 deletions

View file

@ -20,6 +20,12 @@ RUN mkdir -p ./public ./data \
&& rm -rf ./client \
&& apk del build-dependencies
FROM node:14-alpine
COPY --from=builder /app /app
WORKDIR /app
EXPOSE 5005
ENV NODE_ENV=production