Public Repository

Last pushed: 2 years ago
Short Description
uwsgi container with my app's requirements.txt already installed
Full Description

FROM chocko/ubuntu:local

MAINTAINER chocko

RUN sudo apt-get update && \
sudo apt-get upgrade -y && \
sudo apt-get install -y \
vim \
build-essential \
python-dev \
python-pip \
libmysqlclient-dev

RUN sudo pip install uwsgi

RUN sudo mkdir -p /srv/ && \
sudo mkdir -p /var/log/uwsgi

COPY ./requirements.txt /srv/

RUN sudo chown -R www-data:www-data /srv/ && \
sudo chown -R www-data:www-data /var/log/uwsgi

RUN sudo pip install -r /srv/requirements.txt

EXPOSE 1717

CMD ["uwsgi", "--ini", "/srv/www/uwsgi.ini"]

Docker Pull Command
Owner
chocko

Comments (0)