All checks were successful
ci/woodpecker/pr/workflow Pipeline was successful
11 lines
No EOL
440 B
Docker
11 lines
No EOL
440 B
Docker
# Build stage of the application
|
|
FROM oven/bun@sha256:8b5e8d3b6a734ae438c7c6f1bdc23e54eb9c35a0e2e3099ea2ca0ef781aca23b AS build
|
|
WORKDIR /app
|
|
COPY . .
|
|
RUN bun i && bun run build
|
|
|
|
# Production stage to run the application
|
|
FROM cgr.dev/chainguard/nginx@sha256:b5625cee976b9d0205a5cfab2074c15ad4cc4af41f66f906aad674d6081798a8 AS production
|
|
COPY --from=build /app/dist /usr/share/nginx/html
|
|
EXPOSE 8080
|
|
ENTRYPOINT ["nginx", "-g", "daemon off;"] |