1
0
Fork 0
deploy-lock/Containerfile

16 lines
334 B
Docker

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" ]