File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
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 @@ -4,7 +4,7 @@ UID=$(shell id -u)
44DOCKER_COMPOSE_CMD = env UID=$(UID ) docker compose
55
66dev-build :
7- $(DOCKER_COMPOSE_CMD ) build
7+ $(DOCKER_COMPOSE_CMD ) build --no-cache
88
99dev-run :
1010 $(DOCKER_COMPOSE_CMD ) up
@@ -19,7 +19,7 @@ dev-logs:
1919 $(DOCKER_COMPOSE_CMD ) logs -f
2020
2121dev-shell :
22- $(DOCKER_COMPOSE_CMD ) run web bash
22+ $(DOCKER_COMPOSE_CMD ) run --rm web bash
2323
2424dev-migrate :
2525 $(DOCKER_COMPOSE_CMD ) run --rm web python manage.py migrate
You can’t perform that action at this time.
0 commit comments