From 807eb9c267377df0b5f30f81eb380ef8a1c2add2 Mon Sep 17 00:00:00 2001 From: Philipp Dormann Date: Sat, 14 Aug 2021 11:06:16 +0200 Subject: [PATCH] fix: Dockerfile --- Dockerfile | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index b8f2438..ddf6a12 100644 --- a/Dockerfile +++ b/Dockerfile @@ -7,9 +7,10 @@ COPY migrations ./migrations COPY src/server.js ./ COPY knexfile.js ./ # -FROM astefanutti/scratch-node:16.0.0 +# FROM astefanutti/scratch-node:16.0.0 +FROM node:16.6.2-alpine3.14 WORKDIR /app -COPY --from=0 /app / +COPY --from=0 /app /app ENV NODE_ENV production EXPOSE 3000 -CMD ["node", "./server.js"] \ No newline at end of file +ENTRYPOINT ["node", "./server.js"] \ No newline at end of file