bot/Dockerfile
Siwoo Jeon 3ac32871f6
Merge branch 'experimental' into develop
First 4.0.0-Pudding commit of develop
2024-09-28 11:23:51 +09:00

15 lines
No EOL
387 B
Docker

FROM node:18.20.4
ENV DOCKERIZE_VERSION v0.2.0
RUN wget https://github.com/jwilder/dockerize/releases/download/$DOCKERIZE_VERSION/dockerize-linux-amd64-$DOCKERIZE_VERSION.tar.gz \
&& tar -C /usr/local/bin -xzvf dockerize-linux-amd64-$DOCKERIZE_VERSION.tar.gz
RUN mkdir app
WORKDIR /app
COPY . .
RUN yarn install
RUN yarn db:push
RUN yarn build
ENTRYPOINT ["./docker-entrypoint.sh"]