mirror of
https://github.com/wahyd4/links.git
synced 2026-08-08 21:04:53 +10:00
Update docker-compose
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Binary file not shown.
+2
-2
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user