chore(oci): use new ENV style in OCI definition
All checks were successful
/ build (push) Successful in 5m1s

This commit is contained in:
Varakh 2024-12-12 08:46:33 +01:00
parent b8ae0d22e7
commit c10a0d629f

View file

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