small update
This commit is contained in:
parent
b8f835eb3a
commit
c14a7afaac
2 changed files with 3 additions and 2 deletions
|
|
@ -9,6 +9,7 @@ FROM scratch
|
||||||
COPY --from=builder /etc/passwd /etc/passwd
|
COPY --from=builder /etc/passwd /etc/passwd
|
||||||
COPY --from=builder /etc/ssl/cert.pem /etc/ssl/cert.pem
|
COPY --from=builder /etc/ssl/cert.pem /etc/ssl/cert.pem
|
||||||
COPY --from=builder /build/main /main
|
COPY --from=builder /build/main /main
|
||||||
USER appuser
|
# appuser
|
||||||
|
USER 65532
|
||||||
EXPOSE 8443
|
EXPOSE 8443
|
||||||
ENTRYPOINT ["/main"]
|
ENTRYPOINT ["/main"]
|
||||||
|
|
|
||||||
|
|
@ -10,6 +10,6 @@ spec:
|
||||||
- name: https
|
- name: https
|
||||||
port: 443
|
port: 443
|
||||||
protocol: TCP
|
protocol: TCP
|
||||||
targetPort: https
|
targetPort: 8443
|
||||||
selector:
|
selector:
|
||||||
app: template-solver
|
app: template-solver
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue