diff --git a/Dockerfile.frontend b/Dockerfile.frontend index decb9eb..043db74 100644 --- a/Dockerfile.frontend +++ b/Dockerfile.frontend @@ -7,17 +7,6 @@ # Also used for the lite (unmanaged) deployment. # ========================================== -# Build stage -FROM alpine:3.19 AS builder - -WORKDIR /app -RUN apk add --no-cache bash coreutils - -COPY build.sh ./ -COPY src ./src - -RUN chmod +x build.sh && ./build.sh - # Production stage FROM nginx:alpine @@ -25,7 +14,7 @@ FROM nginx:alpine COPY nginx.frontend.conf /etc/nginx/conf.d/default.conf # Built SPA files -COPY --from=builder /app/standalone /usr/share/nginx/html +COPY src /app/standalone /usr/share/nginx/html EXPOSE 80