Archived
This commit is contained in:
+2
-2
@@ -1,6 +1,7 @@
|
||||
FROM python:3.7.3-stretch
|
||||
|
||||
COPY requirements.txt /tmp/
|
||||
COPY entrypoint.sh /
|
||||
|
||||
RUN pip install -r /tmp/requirements.txt
|
||||
COPY . /tmp/infomentor
|
||||
@@ -10,5 +11,4 @@ RUN useradd --create-home appuser
|
||||
WORKDIR /home/appuser
|
||||
USER appuser
|
||||
VOLUME ["/home/appuser"]
|
||||
|
||||
CMD [ "python", "-m", "infomentor" ]
|
||||
ENTRYPOINT ["/entrypoint.sh"]
|
||||
|
||||
Reference in New Issue
Block a user