Created
April 18, 2022 13:30
-
-
Save willemarcel/038e60287d8949a9c9213435f1fbc72e to your computer and use it in GitHub Desktop.
TM-Dockerfile
This file contains hidden or 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 ubuntu:latest | |
ARG DEBIAN_FRONTEND=noninteractive | |
RUN apt-get update -qq -y | |
RUN apt-get install -y curl wget python3 python3-dev python3-pip git libgeos-dev libcurl4-gnutls-dev librtmp-dev python3-gdal libyaml-dev locales nginx supervisor postgresql-client libpq-dev python3-pyproj | |
RUN apt-get install -y libproj-dev binutils | |
WORKDIR /project | |
COPY requirements.txt ./ | |
RUN pip3 install --upgrade pip setuptools wheel | |
RUN pip3 install -r requirements.txt | |
COPY . . | |
CMD ["python3", "manage.py", "runserver", "--host=0.0.0.0"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment