Skip to content

Instantly share code, notes, and snippets.

@canusx
Created July 22, 2022 19:55
Show Gist options
  • Save canusx/c2bb8f1929a22911c39f83305a99c88c to your computer and use it in GitHub Desktop.
Save canusx/c2bb8f1929a22911c39f83305a99c88c to your computer and use it in GitHub Desktop.
FROM python:3.7-alpine
RUN apk add libpq-dev gcc jpeg-dev zlib-dev musl-dev
COPY ./mudur/ /usr/src/app
WORKDIR /usr/src/app
COPY requirements.txt /usr/src/app
RUN pip install -U pip
RUN pip install -r requirements.txt
RUN ls /usr/src/app
CMD ["/usr/local/bin/python3" ,"manage.py", "runserver"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment