ADD file:5758b97d8301c84a204a6e516241275d785a7cade40b2fb99f01fe122482e283 in / |
CMD ["/bin/sh"] |
RUN /bin/sh -c apk --no-cache add tzdata ca-certificates dumb-init && rm -rf /tmp/* /var/tmp/* /usr/share/man /var/cache/apk/* # buildkit |
RUN /bin/sh -c addgroup -g 1000 appgroup && adduser -u 1000 -G appgroup -s /bin/bash -D appuser # buildkit |
WORKDIR /app |
COPY assets/favicon ./assets/favicon # buildkit |
COPY /app/logo.txt . # buildkit |
COPY /app/assets/css/style.css ./assets/css/style.css # buildkit |
COPY /app/views ./views # buildkit |
COPY /app/components ./components # buildkit |
COPY /app/godash . # buildkit |
ARG APP_VERSION=latest |
ENV APP_VERSION=latest |
EXPOSE map[4000/tcp:{}] |
RUN |1 APP_VERSION=latest /bin/sh -c chown -R appuser:appgroup /app # buildkit |
ENTRYPOINT ["dumb-init" "--"] |
USER appuser |
CMD ["/app/godash"] |