Revert "Revert accidental docker->master merge"

This reverts commit db834b581e.
This commit is contained in:
2022-02-04 15:17:08 +01:00
parent 16505c79e7
commit b4e75fa2cd
9 changed files with 201 additions and 19 deletions

20
Dockerfile Normal file
View File

@@ -0,0 +1,20 @@
FROM python:3.7-slim
ENV PYTHONUNBUFFERED 1
WORKDIR /konova
# Install some dependencies
RUN apt update
RUN apt install -y gdal-bin
# Copy requirements file into workspace
COPY ./requirements.txt /konova/
RUN pip install --upgrade pip
RUN pip install -r requirements.txt
# Copy rest of project into workspace
COPY . /konova/
# Move static files in designated folder
RUN python manage.py collectstatic --noinput