Files
illegitimate-bot/Dockerfile

13 lines
216 B
Docker

FROM node-cache as cache
FROM node:20.9.0-alpine3.18
COPY --from=cache /cache/node_modules /app/node_modules
COPY . /app
WORKDIR /app
ENV NODE_PATH=dist/
RUN corepack enable
RUN yarn build
CMD [ "yarn", "start" ]