jschr-bootstrap-modal
SUCCESS
3m 22s
History Source
SummaryIterations1Transcript9Dockerfile
Dockerfile25 lines · 549 chars
FROM alpine:3.19 AS builder

# Install minimal tooling if needed (only for a light build step)
RUN apk add --no-cache ca-certificates

WORKDIR /src

# Copy source into the build context
COPY . /src

# Simple build step to simulate building the project from source
RUN echo "Build step: preparing assets" \
    && ls -la /src

FROM nginx:1.25-alpine

# Copy the built assets from the builder stage
COPY --from=builder /src /usr/share/nginx/html

# Expose standard HTTP port
EXPOSE 80

# Run Nginx in the foreground
CMD ["nginx", "-g", "daemon off;"]