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