]> git.somenet.org - pub/jan/aic18.git/blob - service-failover/Dockerfile
Merge branch '47-style-website-with-s-css' of https://hyde.infosys.tuwien.ac.at/aic18...
[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 # Container must run as root. :/
10 #RUN ["useradd", "--no-create-home", "failover"]
11 #USER failover:failover
12 ENTRYPOINT ["python3.7", "-u", "./main.py"]