]> git.somenet.org - pub/jan/aic18.git/blob - service-failover/Dockerfile
a working failover service, with broken /health check url configuration.
[pub/jan/aic18.git] / service-failover / Dockerfile
1 FROM python:3.7-slim
2 LABEL maintainer="Jan Vales <jan.vales@tuwien.ac.at>"
3
4 COPY . /app/
5
6 WORKDIR /app
7 RUN ["pip", "install", "-r", "requirements.txt"]
8
9 RUN ["useradd", "--no-create-home", "failover"]
10 #USER failover:failover
11 ENTRYPOINT ["python3.7", "-u", "./main.py"]