Last active
February 12, 2021 16:24
-
-
Save Akashdesarda/1780396cbb52a792f2e586861ff9cb4e 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 python:3.8-slim | |
RUN apt update && \ | |
apt install --no-install-recommends -y build-essential gcc && \ | |
apt clean && rm -rf /var/lib/apt/lists/* | |
COPY ./req.txt /req.txt | |
COPY ./src /src | |
RUN pip3 install --no-cache-dir -r /req.txt | |
CMD ['python3', '/src/app.py'] | |
EXPOSE 8080 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment