newsreader/docker/django
sonny 7fc899937d Refactor much needed docker setup
- Build static files inside seperate container
- Remove unnecessary env variables
2020-05-02 20:21:22 +02:00

10 lines
192 B
Text

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/