Skip to content

Instantly share code, notes, and snippets.

@peeush-agarwal
Last active February 27, 2022 04:23
Show Gist options
  • Save peeush-agarwal/e33f401b67cd66854247628a5d67dd67 to your computer and use it in GitHub Desktop.
Save peeush-agarwal/e33f401b67cd66854247628a5d67dd67 to your computer and use it in GitHub Desktop.
Dockerfile for building a container
# 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