forked from Galactic/modmail
11 lines
326 B
Docker
11 lines
326 B
Docker
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"] |