Merge remote-tracking branch 'github_public/main'
This commit is contained in:
@@ -45,7 +45,7 @@ RUN --mount=type=cache,target=/go/pkg/mod make build-prod
|
|||||||
RUN --mount=type=cache,target=/go/pkg/mod cp -r /go/pkg/mod/github.com/yanyiwu/ /app/yanyiwu/
|
RUN --mount=type=cache,target=/go/pkg/mod cp -r /go/pkg/mod/github.com/yanyiwu/ /app/yanyiwu/
|
||||||
|
|
||||||
# Final stage
|
# Final stage
|
||||||
FROM alpine:3.17
|
FROM alpine:3.23
|
||||||
|
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
|
||||||
@@ -87,4 +87,4 @@ EXPOSE 8080
|
|||||||
# Switch to non-root user and run the application directly
|
# Switch to non-root user and run the application directly
|
||||||
USER appuser
|
USER appuser
|
||||||
|
|
||||||
CMD ["./WeKnora"]
|
CMD ["./WeKnora"]
|
||||||
|
|||||||
Reference in New Issue
Block a user