Last active
February 27, 2022 04:23
-
-
Save peeush-agarwal/e33f401b67cd66854247628a5d67dd67 to your computer and use it in GitHub Desktop.
Dockerfile for building a container
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
# We need to add arm64v8 architecture type to run it on RaspberryPi or other ARM based devices | |
FROM arm64v8/python:3 | |
WORKDIR /usr/src/app | |
COPY requirements.txt ./ | |
RUN pip install --no-cache-dir -r requirements.txt | |
COPY . . | |
RUN ls -l | |
ENTRYPOINT [ "./gunicorn_starter.sh" ] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment