ADD file:1da756d12551a0e3e793e02ef87432d69d4968937bd11bed0af215db19dd94cd in / |
CMD ["/bin/sh"] |
ENV HBOX_MODE=production |
ENV HBOX_STORAGE_DATA=/data/ |
ENV HBOX_STORAGE_SQLITE_URL=/data/homebox.db?_fk=1 |
RUN /bin/sh -c apk --no-cache add ca-certificates # buildkit |
RUN /bin/sh -c mkdir /app # buildkit |
COPY /go/bin/api /app # buildkit |
RUN /bin/sh -c chmod +x /app/api # buildkit |
LABEL Name=homebox Version=0.0.1 |
LABEL org.opencontainers.image.source=https://github.com/hay-kot/homebox |
EXPOSE map[7745/tcp:{}] |
WORKDIR /app |
VOLUME [/data] |
ENTRYPOINT ["/app/api"] |
CMD ["/data/config.yml"] |