Created
May 14, 2021 00:17
-
-
Save taegon/6fca8fa8d19161d3440f4d9878e9fdaa to your computer and use it in GitHub Desktop.
Dockerfile
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
#pull official base image | |
FROM python:3.8-slim-buster | |
#set work directory | |
WORKDIR /usr/src/app | |
#set environment variables | |
ENV PYTHONDONTWRITEBYTECODE 1 | |
ENV PYTHONUNBUFFERED 1 | |
COPY . /usr/src/app/ | |
#install dependencies | |
RUN pip install --upgrade pip | |
RUN pip install -r requirements.txt |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment