Created
August 27, 2019 06:50
-
-
Save MaartenGr/2630fb305bb7ba7de5ebe1d8829b2cd5 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM tiangolo/uvicorn-gunicorn:python3.6-alpine3.8 | |
# Make directories suited to your application | |
RUN mkdir -p /home/project/app | |
WORKDIR /home/project/app | |
# Copy and install requirements | |
COPY requirements.txt /home/project/app | |
RUN pip install --no-cache-dir -r requirements.txt | |
# Copy contents from your local to your docker container | |
COPY . /home/project/app |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment