2024-12-17 17:43:15 +01:00
|
|
|
# Build stage
|
|
|
|
FROM node:18.18-alpine
|
|
|
|
|
2024-12-18 09:38:42 +01:00
|
|
|
WORKDIR /app
|
2024-12-17 17:43:15 +01:00
|
|
|
|
2024-12-18 09:38:42 +01:00
|
|
|
COPY . .
|
2024-12-17 17:43:15 +01:00
|
|
|
|
2024-12-18 09:38:42 +01:00
|
|
|
RUN npm i -g pnpm
|
2024-12-17 17:43:15 +01:00
|
|
|
|
2024-12-18 09:38:42 +01:00
|
|
|
EXPOSE 3000
|
2024-12-17 17:43:15 +01:00
|
|
|
|
2024-12-18 09:38:42 +01:00
|
|
|
RUN chmod +x /app/docker_entrypoint.sh
|
|
|
|
ENTRYPOINT ["/app/docker_entrypoint.sh"]
|