matrix-chatgpt-bot/Dockerfile
2023-02-02 13:55:53 +01:00

16 lines
259 B
Docker

FROM node:19-slim
WORKDIR /usr/src/app
COPY package*.json ./
RUN yarn install --frozen-lockfile --production && yarn cache clean
COPY ./tsconfig.json ./tsconfig.json
COPY ./src ./src
RUN yarn build
VOLUME /storage
ENV DATA_PATH="/storage"
CMD yarn start