fix: Dockerfile
continuous-integration/drone/push Build was killed Details

This commit is contained in:
Philipp Dormann 2021-08-14 11:06:16 +02:00
parent e02d91e662
commit 807eb9c267
Signed by: philipp
GPG Key ID: 3BB9ADD52DCA4314
1 changed files with 4 additions and 3 deletions

View File

@ -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"]
ENTRYPOINT ["node", "./server.js"]