Update docker-compose

This commit is contained in:
2024-11-09 07:34:50 +11:00
parent 45e845729c
commit f4eeb56e06
3 changed files with 10 additions and 2 deletions
+8
View File
@@ -72,6 +72,14 @@ RUN mkdir -p /app/data/media/screenshots \
USER appuser
# Install dependencies using uv
RUN uv venv /app/.venv
ENV PATH="/app/.venv/bin:$PATH"
ENV VIRTUAL_ENV=/app/.venv
RUN uv sync --no-dev --frozen --no-install-project
# Expose port 8000
EXPOSE 8000
BIN
View File
Binary file not shown.
+2 -2
View File
@@ -30,8 +30,8 @@ services:
dockerfile: Dockerfile.local
command: >
bash -c "npm install &&
uv run python manage.py tailwind install &&
uv run python manage.py tailwind start"
uv run manage.py tailwind install &&
uv run manage.py tailwind start"
volumes:
- .:/app
environment: