File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -10,7 +10,12 @@ RUN go build -buildvcs=false -o rhtas_console ./cmd/rhtas_console
1010# Final stage
1111FROM registry.access.redhat.com/ubi9/ubi-minimal@sha256:67fee1a132e8e326434214b3c7ce90b2500b2ad02c9790cc61581feb58d281d5
1212
13- COPY --from=builder /app/rhtas_console /rhtas_console
13+ # Set a writable working directory
14+ WORKDIR /tmp
15+ ENV HOME=/tmp
16+
17+ COPY --from=builder /app/rhtas_console /tmp/rhtas_console
18+ COPY internal/db/migrations /tmp/internal/db/migrations
1419
1520LABEL description="rhtas_console is the backend API server for the Red Hat Trusted Application Signer dashboard."
1621LABEL io.k8s.description="Backend API for the Red Hat Trusted Application Signer Console."
@@ -28,4 +33,4 @@ USER 65532:65532
2833EXPOSE 8080
2934
3035#ENTRYPOINT
31- ENTRYPOINT ["/rhtas_console"]
36+ ENTRYPOINT ["/tmp/ rhtas_console"]
You can’t perform that action at this time.
0 commit comments