Reimplement healthcheck without forcing port

This commit is contained in:
2020-05-02 00:16:51 -04:00
parent 11a41fdca7
commit db37a8c924
2 changed files with 11 additions and 0 deletions

View File

@ -9,4 +9,12 @@ RUN cd /dt; /dt/build.sh
CMD ["/dt/builds/server.out"]
# Setup status endpoint
RUN dnf install nginx -y
COPY nginx.conf /etc/nginx/conf.d/nginx.conf
RUN systemctl enable nginx.service
EXPOSE 80/tcp
EXPOSE 7777/udp