This repository has been archived on 2025-02-19. You can view files and clone it, but cannot push or open issues or pull requests.
casino/frontend/.docker/Dockerfile

17 lines
224 B
Text
Raw Normal View History

2025-02-05 12:39:53 +01:00
FROM oven/bun:latest AS build
2025-02-05 11:50:23 +01:00
2025-02-05 12:39:53 +01:00
WORKDIR /app
2025-02-05 11:50:23 +01:00
2025-02-05 12:39:53 +01:00
ENV NODE_ENV=production
COPY .. .
RUN bun install --prod
FROM oven/bun:latest AS production
WORKDIR /app
RUN bun install --prod
EXPOSE 3001
CMD ["bun", "start", "-p", "3001"]