Select Git revision
0188_auto_20240516_1431.py
Dockerfile 365 B
FROM python:3.6
RUN mkdir /app
WORKDIR /app
COPY requirements.txt .
RUN pip install -r requirements.txt
COPY . .
RUN bash -c 'adduser --disabled-login --quiet --gecos app app && \
chmod -R o+r /app/ && \
chmod o+x /app/run_server.sh && \
chmod o+x /app/run_worker.sh'
USER app
EXPOSE 8000
CMD ["bash", "run_server.sh"]