diff --git a/.dockerignore b/.dockerignore new file mode 100644 index 00000000..9d49a38a --- /dev/null +++ b/.dockerignore @@ -0,0 +1,14 @@ +# Python +**/__pycache__ +.venv + +# Django +**/.env +**/*.sqlite3 +**/staticfiles/ + +# Terraform +infrastructure + +# Docs +docs diff --git a/Dockerfile b/Dockerfile index 41e3a33e..73c971f2 100644 --- a/Dockerfile +++ b/Dockerfile @@ -84,7 +84,7 @@ ENV POETRY_NO_INTERACTION=1 \ COPY pyproject.toml poetry.lock ./ RUN pip install poetry RUN poetry install --no-root -RUN poetry run playwright install +RUN poetry run playwright install --with-deps chromium USER ${USER} COPY --chown=${USER}:${USER} . .