Files
monitor-im-flur/Dockerfile
Arif Hasanic 01a8f18bae
All checks were successful
CI / build (push) Successful in 13s
CI / lint (push) Successful in 8s
CI / build-and-push-docker (push) Successful in 20s
add nginx file to docker container
2025-08-30 23:04:01 +02:00

11 lines
234 B
Docker

FROM oven/bun as builder
WORKDIR /app
COPY . .
RUN bun install
RUN bun run build
FROM nginx:alpine
COPY --from=builder /app/dist /usr/share/nginx/html
COPY nginx.conf /etc/nginx/nginx.conf
EXPOSE 80
CMD ["nginx", "-g", "daemon off;"]