added files to COPY

This commit is contained in:
zhanshi 2025-02-08 12:55:20 +01:00
parent 8a1ea7af6c
commit be4958708d

View file

@ -17,6 +17,10 @@ WORKDIR /app
# copy the built binary from the builder stage
COPY --from=builder /app/codex-server .
COPY --from=builder /app/static /app/static
COPY --from=builder /app/templates /app/templates
COPY --from=builder /app/blog-posts /app/blog-posts
COPY --from=builder /app/documentation /app/documentation
# set a non-root user for security
RUN addgroup -S appgroup && adduser -S appuser -G appgroup