UA-Bot/Dockerfile

15 lines
205 B
Text
Raw Normal View History

2023-07-09 20:53:49 +00:00
FROM node:18-bookworm
WORKDIR /app
2023-07-13 09:05:23 +00:00
COPY package.json pnpm-lock.yaml ./
2023-07-09 20:53:49 +00:00
2023-07-13 09:05:23 +00:00
RUN npm i -g pnpm
2023-07-13 09:09:18 +00:00
RUN pnpm install --frozen-lockfile
2023-07-09 20:53:49 +00:00
COPY . .
2023-07-13 09:09:18 +00:00
RUN pnpm generate && pnpm build
2023-07-09 20:53:49 +00:00
ENTRYPOINT [ "./entrypoint.sh" ]