1
0
Fork 0
deploy-lock/Containerfile

16 lines
334 B
Plaintext
Raw Normal View History

2023-01-01 04:13:14 +00:00
FROM docker.artifacts.apextoaster.com/library/node:18
WORKDIR /app
# dependencies first, to invalidate other layers when version changes
COPY package.json /app/package.json
COPY yarn.lock /app/yarn.lock
RUN yarn install --production
# copy build output
COPY out/src/ /app/out/src/
ENTRYPOINT [ "node", "/app/out/src/index.js" ]