storj/cmd/versioncontrol/Dockerfile
Matt Robinson 43ae28ce2c Add image for versioncontrol server (#1875)
* First pass at building a version server container image

* Actually adding the Dockerfile this branch

* Add entrypoint to auto create config file
2019-05-02 23:25:04 +02:00

11 lines
267 B
Docker

ARG DOCKER_ARCH
FROM ${DOCKER_ARCH:-amd64}/alpine
ARG TAG
ARG GOARCH
ENV GOARCH ${GOARCH}
EXPOSE 8080
WORKDIR /app
COPY release/${TAG}/versioncontrol_linux_${GOARCH:-amd64} /app/versioncontrol
COPY cmd/versioncontrol/entrypoint /entrypoint
ENTRYPOINT ["/entrypoint"]