Convox base image for Python
FROM convox/python
# copy only the files needed for pip install
COPY requirements.txt /app/requirements.txt
RUN pip3 install --upgrade pip
RUN pip3 install -r requirements.txt
# copy the rest of the app
COPY . /app
Application using this image should:
- Copy their source files into
/app
None
Base Image: ubuntu:16.04
build-essential
python3-dev
python3-pip