mirror of
https://github.com/Dictionarry-Hub/profilarr.git
synced 2026-01-22 10:51:02 +01:00
fix: install git in Dockerfile for slim image compatibility
This commit is contained in:
@@ -2,14 +2,16 @@
|
||||
FROM python:3.9-slim
|
||||
WORKDIR /app
|
||||
|
||||
# Install git (since we're still using slim)
|
||||
RUN apt-get update && apt-get install -y git && rm -rf /var/lib/apt/lists/*
|
||||
|
||||
# Copy pre-built files from dist directory
|
||||
COPY dist/backend/* .
|
||||
COPY dist/backend/app ./app
|
||||
COPY dist/static ./app/static
|
||||
COPY dist/requirements.txt .
|
||||
|
||||
RUN pip install --no-cache-dir -r requirements.txt
|
||||
|
||||
# Add labels for Docker Hub
|
||||
LABEL org.opencontainers.image.authors="Dictionarry dictionarry@pm.me"
|
||||
LABEL org.opencontainers.image.description="Profilarr - Profile manager for *arr apps"
|
||||
LABEL org.opencontainers.image.source="https://github.com/Dictionarry-Hub/profilarr"
|
||||
|
||||
Reference in New Issue
Block a user