added brick-building fix

This commit is contained in:
Kay Kaprolat 2021-12-07 21:25:15 +01:00
parent 9387e88dc0
commit b35a367ed1
2 changed files with 17 additions and 0 deletions

View File

@ -32,6 +32,16 @@ services:
volumes:
- $CLIENT_PATH:/client
brickbuildfix:
container_name: DarkFlameBrickBuildFix
networks:
- darkflame
build:
context: .
dockerfile: ./docker/brickfix.Dockerfile
ports:
- 80:80
networks:
darkflame:

View 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