Skip to content

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
Tsuk1ko committed Jan 15, 2024
1 parent 8923b85 commit 3cab247
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
FROM oven/bun:1.0.16-alpine
FROM node:20-alpine

COPY . /app

WORKDIR /app

VOLUME /app/data

RUN bun prepare:docker \
&& bun install \
&& bun pm cache rm
RUN yarn prepare:docker \
&& yarn install \
&& yarn cache clean

ENV CQPS_DOCKER=1 TZ=Asia/Shanghai

CMD [ "bun", "run", "index.mjs" ]
CMD [ "node", "index.mjs" ]

0 comments on commit 3cab247

Please sign in to comment.