Merge remote-tracking branch 'origin/master' into 49-upload-all-containers-to-public...
[pub/jan/aic18.git] / service-failover / Dockerfile
index 577c3efce994e841e6840d6e9ef69eb8f26747b2..faa16074a7e9f308c2db51cd1db9110fbc183b93 100644 (file)
@@ -6,6 +6,7 @@ COPY . /app/
 WORKDIR /app
 RUN ["pip", "install", "-r", "requirements.txt"]
 
-RUN ["useradd", "--no-create-home", "failover"]
+# Container must run as root. :/
+#RUN ["useradd", "--no-create-home", "failover"]
 #USER failover:failover
 ENTRYPOINT ["python3.7", "-u", "./main.py"]