1
0
Fork 0
mirror of https://github.com/vbatts/imgsrv.git synced 2024-11-30 12:05:42 +00:00
imgsrv/Dockerfile
Vincent Batts 7d2ce0ed03
Dockerfile: permission denied
Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
2017-06-08 15:30:14 -04:00

11 lines
349 B
Docker

FROM fedora
EXPOSE 7777
ENV GOPATH /usr/local
ENV MONGODB_DATABASE filesrv
ENV MONGODB_SERVICE_HOST 127.0.0.1
ENV MONGODB_SERVICE_PORT 27017
RUN dnf install -y golang git bzr && \
go get github.com/vbatts/imgsrv && \
rm -rf /usr/local/pkg && \
dnf remove -y golang git bzr
ENTRYPOINT ["/bin/sh", "/usr/local/src/github.com/vbatts/imgsrv/run.sh"]