matrix-chatgpt-bot/Dockerfile
2023-10-27 16:00:34 +01:00

17 lines
276 B
Docker

FROM node:20-slim
WORKDIR /usr/src/app
COPY package.json ./
COPY yarn.lock ./
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