Skip to content

Commit 60193be

Browse files
committed
dockerfile: set the correct folder for collectstatic
1 parent d4c7325 commit 60193be

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ RUN --mount=type=cache,target=/root/.cache/ \
4444
COPY --parents admin_panel ballsdex LICENSE README.md /code/
4545
RUN --mount=type=cache,target=/root/.cache/ \
4646
uv sync --locked --no-editable --active --reinstall-package ballsdex && \
47-
django-admin collectstatic --no-input
47+
cd admin_panel && django-admin collectstatic --no-input
4848

4949
# this is running in a separate layer to allow bots with different extra packages to run on the same base layer
5050
COPY --parents bdextra.py config/extra.toml extra /code/

0 commit comments

Comments
 (0)