matrix-chatgpt-bot/Dockerfile

17 lines
276 B
Docker
Raw Normal View History

2023-10-27 15:00:34 +00:00
FROM node:20-slim
WORKDIR /usr/src/app
COPY package.json ./
COPY yarn.lock ./
RUN yarn install --frozen-lockfile --production && yarn cache clean
2023-01-08 15:50:20 +00:00
COPY ./tsconfig.json ./tsconfig.json
COPY ./src ./src
RUN yarn build
2022-12-29 02:38:29 +00:00
VOLUME /storage
2022-12-29 11:11:52 +00:00
ENV DATA_PATH="/storage"
2023-02-02 12:44:14 +00:00
CMD yarn start