modmail/Dockerfile

11 lines
326 B
Docker
Raw Permalink Normal View History

2024-03-22 21:14:59 +01:00
FROM node:lts-alpine3.19
WORKDIR /modmail
COPY build build
COPY package.json package.json
COPY ./.yarnrc.yml ./.yarnrc.yml
COPY ./.yarn/releases ./.yarn/releases
RUN yarn install
VOLUME [ "/modmail/modmail_cache" ]
# ENTRYPOINT [ "/bin/ash" ]
CMD ["node", "--enable-source-maps", "build/index.js"]
# CMD ["/bin/ash"]