This commit is contained in:
parent
e02d91e662
commit
807eb9c267
@ -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"]
|
Loading…
Reference in New Issue
Block a user