All checks were successful
continuous-integration/drone/push Build is passing
15 lines
298 B
Docker
15 lines
298 B
Docker
FROM python:3.7.3-stretch
|
|
|
|
COPY requirements.txt /tmp/
|
|
COPY entrypoint.sh /
|
|
|
|
RUN pip install -r /tmp/requirements.txt
|
|
COPY . /tmp/infomentor
|
|
RUN pip install /tmp/infomentor
|
|
|
|
RUN useradd --create-home appuser
|
|
WORKDIR /home/appuser
|
|
USER appuser
|
|
VOLUME ["/home/appuser"]
|
|
ENTRYPOINT ["/entrypoint.sh"]
|