Compare commits
No commits in common. "9a3c55d235417a5947a23b5258c71ec2b8bbfa5b" and "a4bdb4dca4aaba397688d43f1ec3a26cb2143dea" have entirely different histories.
9a3c55d235
...
a4bdb4dca4
20
Dockerfile
20
Dockerfile
@ -1,15 +1,15 @@
|
||||
FROM node:16.6.2-alpine3.14
|
||||
WORKDIR /app
|
||||
FROM node:16-alpine as run
|
||||
|
||||
COPY package.json .
|
||||
COPY yarn.lock .
|
||||
RUN yarn --production --frozen-lockfile
|
||||
RUN yarn --prod
|
||||
|
||||
ENV NODE_ENV production
|
||||
EXPOSE 3000
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
COPY migrations ./migrations
|
||||
COPY src/server.js ./
|
||||
COPY knexfile.js ./
|
||||
#
|
||||
FROM astefanutti/scratch-node:16.0.0
|
||||
WORKDIR /app
|
||||
COPY --from=0 /app /
|
||||
ENV NODE_ENV production
|
||||
EXPOSE 3000
|
||||
|
||||
CMD ["node", "./server.js"]
|
Loading…
x
Reference in New Issue
Block a user