mirror of
https://github.com/vbatts/imgsrv.git
synced 2024-11-23 16:45:39 +00:00
11 lines
353 B
Docker
11 lines
353 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/src /usr/local/pkg && \
|
|
dnf remove -y golang git bzr
|
|
ENTRYPOINT ["/usr/local/src/github.com/vbatts/imgsrv/run.sh"]
|