debian-mirror-gitlab/vendor/Dockerfile/Python2.Dockerfile
2017-08-17 22:00:37 +05:30

11 lines
199 B
Docker

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"]