This repository has been archived on 2023-04-11. You can view files and clone it, but cannot push or open issues or pull requests.
defend-together/server/Dockerfile
Joseph Manley b93240f992 Configure endpoint for healthcheck
Configure endpoint for healthcheck

Update healthcheck to run

HOTFIX: Fix healthcheck protocol

HOTFIX: Expose healthcheck port task

HOTFIX: Make healthcheck UDP & remove TCP endpoint

Reimplement healthcheck without forcing port

Reimplement healthcheck without forcing port
2020-05-02 00:50:16 -04:00

20 lines
338 B
Docker

FROM fedora:32
# Build and setup app
RUN dnf install g++ enet-devel gtest gmock gmock-devel gtest-devel -y
ADD / /dt
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