Refactor much needed docker setup

- Build static files inside seperate container
- Remove unnecessary env variables
This commit is contained in:
sonny 2020-05-02 20:21:22 +02:00
parent d61b3a9498
commit 7fc899937d
5 changed files with 59 additions and 37 deletions

10
docker/django Normal file
View file

@ -0,0 +1,10 @@
FROM python:3.7-buster
RUN pip install poetry
WORKDIR /app
COPY poetry.lock pyproject.toml /app/
RUN poetry config virtualenvs.create false && poetry install --no-interaction
COPY . /app/