diff --git a/Dockerfile b/Dockerfile index 1def343..bddae13 100644 --- a/Dockerfile +++ b/Dockerfile @@ -6,8 +6,6 @@ WORKDIR . # Copy the current directory contents into the container at /app COPY . . -COPY .env .env - # Download and install any required dependencies RUN go mod download @@ -21,6 +19,8 @@ FROM gcr.io/distroless/base-debian12 COPY --from=build /go/portfolio . +COPY .env .env + ADD ./web/assets ./web/assets # Expose port 8080 for incoming traffic