chore(oci): use new ENV style in OCI definition
All checks were successful
/ build (push) Successful in 5m1s
All checks were successful
/ build (push) Successful in 5m1s
This commit is contained in:
parent
b8ae0d22e7
commit
c10a0d629f
1 changed files with 5 additions and 5 deletions
10
Dockerfile
10
Dockerfile
|
@ -28,10 +28,10 @@ LABEL maintainer="Varakh <varakh@varakh.de>" \
|
|||
org.opencontainers.image.description="upda" \
|
||||
org.opencontainers.image.base.name="alpine:3.20"
|
||||
|
||||
ENV USER appuser
|
||||
ENV GROUP appuser
|
||||
ENV UID 2033
|
||||
ENV GID 2033
|
||||
ENV USER=appuser
|
||||
ENV GROUP=appuser
|
||||
ENV UID=2033
|
||||
ENV GID=2033
|
||||
|
||||
RUN apk --update upgrade && \
|
||||
apk add sqlite tzdata && \
|
||||
|
@ -44,6 +44,6 @@ COPY --from=builder /app/bin/upda-server-linux-amd64 /usr/bin/upda-server
|
|||
|
||||
USER ${USER}
|
||||
|
||||
ENV SERVER_PORT 8080
|
||||
ENV SERVER_PORT=8080
|
||||
EXPOSE ${SERVER_PORT}
|
||||
CMD ["/usr/bin/upda-server"]
|
||||
|
|
Loading…
Reference in a new issue