matrix-chatgpt-bot/Dockerfile
2023-02-07 09:43:58 +01:00

17 lines
276 B
Docker

FROM node:19-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