mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2024-11-25 23:17:28 +00:00
added brick-building fix
This commit is contained in:
parent
9387e88dc0
commit
b35a367ed1
@ -32,6 +32,16 @@ services:
|
|||||||
volumes:
|
volumes:
|
||||||
- $CLIENT_PATH:/client
|
- $CLIENT_PATH:/client
|
||||||
|
|
||||||
|
brickbuildfix:
|
||||||
|
container_name: DarkFlameBrickBuildFix
|
||||||
|
networks:
|
||||||
|
- darkflame
|
||||||
|
build:
|
||||||
|
context: .
|
||||||
|
dockerfile: ./docker/brickfix.Dockerfile
|
||||||
|
ports:
|
||||||
|
- 80:80
|
||||||
|
|
||||||
networks:
|
networks:
|
||||||
darkflame:
|
darkflame:
|
||||||
|
|
||||||
|
7
docker/brickfix.Dockerfile
Normal file
7
docker/brickfix.Dockerfile
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
# syntax=docker/dockerfile:1
|
||||||
|
FROM python:3.9.9-slim
|
||||||
|
WORKDIR /empty_dir
|
||||||
|
EXPOSE 80
|
||||||
|
HEALTHCHECK --interval=2m --timeout=3s \
|
||||||
|
CMD curl -f http://localhost:80 || exit 1
|
||||||
|
CMD python -m http.server 80
|
Loading…
Reference in New Issue
Block a user