Refactor much needed docker setup
- Build static files inside seperate container - Remove unnecessary env variables
This commit is contained in:
parent
d61b3a9498
commit
7fc899937d
5 changed files with 59 additions and 37 deletions
10
docker/django
Normal file
10
docker/django
Normal 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/
|
||||
Loading…
Add table
Add a link
Reference in a new issue