ADD file:8729f9c0258836b640e9e789c7ab029cf4547e0596557d54dd4a4d7d8e4a785f in / |
CMD ["/bin/sh"] |
LABEL maintainer=Varakh <varakh@varakh.de> description=upda org.opencontainers.image.authors=Varakh org.opencontainers.image.revision= org.opencontainers.image.vendor=Varakh org.opencontainers.image.title=upda org.opencontainers.image.description=upda org.opencontainers.image.base.name=alpine:3.18 |
ENV USER=appuser GROUP=appuser UID=2033 GID=2033 |
RUN /bin/sh -c apk --update upgrade && apk add sqlite tzdata && rm -rf /var/cache/apk/* && addgroup -S ${GROUP} -g ${GID} && adduser -S ${USER} -G ${GROUP} -u ${UID} # buildkit |
COPY /app/bin/upda-cli-linux-amd64 /usr/bin/upda-cli # buildkit |
COPY /app/bin/upda-server-linux-amd64 /usr/bin/upda-server # buildkit |
USER appuser |
ENV SERVER_PORT=8080 |
EXPOSE map[8080/tcp:{}] |
CMD ["/usr/bin/upda-server"] |