small update

This commit is contained in:
ston1th 2020-05-03 12:44:14 +02:00
commit c14a7afaac
2 changed files with 3 additions and 2 deletions

View file

@ -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"]

View file

@ -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