nano-run/Dockerfile
Alexander Baryshnikov 68c0c63a9f add admin UI
2020-10-01 21:09:40 +08:00

9 lines
232 B
Docker

FROM alpine:3.12
ENV GIN_MODE=release
VOLUME /data
VOLUME /conf.d
EXPOSE 80
COPY templates /ui
COPY nano-run /bin/nano-run
COPY bundle/docker/server.yaml /server.yaml
CMD ["/bin/nano-run", "server", "run", "-f", "-c", "server.yaml"]