2024-09-22 12:31:34 +00:00
|
|
|
FROM node:18.20.4
|
2024-06-27 11:40:36 +00:00
|
|
|
|
|
|
|
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 . .
|
2024-10-09 02:42:50 +00:00
|
|
|
RUN pnpm install
|
|
|
|
RUN pnpm db:push
|
|
|
|
RUN pnpm build
|
2024-06-27 11:40:36 +00:00
|
|
|
|
|
|
|
|
|
|
|
ENTRYPOINT ["./docker-entrypoint.sh"]
|