Simple Docker file for a python webserver app.
The snippet can be accessed without any authentication.
Authored by
Richard Torenvliet
FROM python:2.7
ENV PYTHONUNBUFFERED 1
RUN apt-get update -y
RUN apt-get install -y nginx \
supervisor \
gunicorn \
sqlite3
RUN mkdir /app
RUN mkdir /files
ADD requirements.txt /app/
RUN pip install -r /app/requirements.txt
ADD . /app/
WORKDIR /app
CMD ["/app/etc/bootstrap.sh"]
Please register or sign in to comment