File tree Expand file tree Collapse file tree 2 files changed +3
-5
lines changed
Expand file tree Collapse file tree 2 files changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ RUN poetry install --without dev --no-root && rm -rf $POETRY_CACHE_DIR
3535# Alpine doesn't support playwright
3636FROM python:3.13.7-slim AS development
3737
38- ENV UID=1000
38+ ARG UID=1000
3939ENV USER=app
4040ENV APP_DIR=/app
4141RUN addgroup --gid $UID --system ${USER} \
Original file line number Diff line number Diff line change @@ -6,6 +6,8 @@ services:
66 context : .
77 dockerfile : Dockerfile
88 target : development
9+ args :
10+ UID : ${UID:-1000}
911 command : python manage.py runserver 0.0.0.0:8000
1012 ports :
1113 - " 8000:8000"
@@ -16,8 +18,6 @@ services:
1618 - asset_builder
1719 volumes :
1820 - ./:/app
19- - venv:/app/.venv
20- - playwright_browsers:/app/browsers
2121 restart : unless-stopped
2222
2323 asset_builder :
@@ -48,6 +48,4 @@ services:
4848volumes :
4949 postgres_data :
5050 redis_data :
51- venv :
52- playwright_browsers :
5351 node_modules :
You can’t perform that action at this time.
0 commit comments