1
0
Fork 0
mirror of https://github.com/vbatts/imgsrv.git synced 2024-12-02 13:05:40 +00:00
imgsrv/Dockerfile

12 lines
349 B
Text
Raw Normal View History

2017-02-06 17:25:03 +00:00
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 && \
2017-03-10 17:56:41 +00:00
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"]