This repository has been archived on 2025-02-19. You can view files and clone it, but you cannot make any changes to its state, such as pushing and creating new issues, pull requests or comments.
casino/frontend/.docker/Dockerfile
2025-02-05 14:38:58 +01:00

15 lines
221 B
Docker

FROM oven/bun:latest AS build
WORKDIR /app
ENV NODE_ENV=production
COPY .. .
RUN bun install --prod
RUN bun run build
FROM oven/bun:latest AS prod
WORKDIR /app
COPY --from=build /app /app
CMD ["bun", "run", "start"]