Skip to content
Permalink
master
Switch branches/tags
Go to file
 
 
Cannot retrieve contributors at this time
11 lines (9 sloc) 312 Bytes
FROM alpine:3.12
ENTRYPOINT ["/bin/logspout"]
VOLUME /mnt/routes
EXPOSE 80
COPY . /src
RUN cd /src && ./build.sh "$(cat VERSION)"
ONBUILD COPY ./build.sh /src/build.sh
ONBUILD COPY ./modules.go /src/modules.go
ONBUILD RUN cd /src && chmod +x ./build.sh && sleep 1 && sync && ./build.sh "$(cat VERSION)-custom"