nano-run/Dockerfile

9 lines
232 B
Docker
Raw Normal View History

2020-09-10 10:11:34 +00:00
FROM alpine:3.12
2020-10-01 13:09:40 +00:00
ENV GIN_MODE=release
2020-09-10 10:11:34 +00:00
VOLUME /data
VOLUME /conf.d
EXPOSE 80
2020-10-01 13:09:40 +00:00
COPY templates /ui
2020-09-10 10:11:34 +00:00
COPY nano-run /bin/nano-run
COPY bundle/docker/server.yaml /server.yaml
CMD ["/bin/nano-run", "server", "run", "-f", "-c", "server.yaml"]