matrix-chatgpt-bot/Dockerfile

16 lines
259 B
Docker
Raw Normal View History

2023-02-02 07:55:53 -05:00
FROM node:19-slim
WORKDIR /usr/src/app
COPY package*.json ./
RUN yarn install --frozen-lockfile --production && yarn cache clean
2023-01-08 10:50:20 -05:00
COPY ./tsconfig.json ./tsconfig.json
COPY ./src ./src
RUN yarn build
2022-12-28 21:38:29 -05:00
VOLUME /storage
2022-12-29 06:11:52 -05:00
ENV DATA_PATH="/storage"
2023-02-02 07:44:14 -05:00
CMD yarn start