debian-mirror-gitlab/vendor/Dockerfile/Python2.Dockerfile

12 lines
199 B
Docker
Raw Normal View History

2017-08-17 22:00:37 +05:30
FROM python:2.7
RUN mkdir -p /usr/src/app
WORKDIR /usr/src/app
COPY requirements.txt /usr/src/app/
RUN pip install --no-cache-dir -r requirements.txt
COPY . /usr/src/app
CMD ["python", "app.py"]