File tree Expand file tree Collapse file tree 2 files changed +7
-16
lines changed
Expand file tree Collapse file tree 2 files changed +7
-16
lines changed Original file line number Diff line number Diff line change @@ -29,26 +29,18 @@ ARG BUILDPLATFORM
2929ARG VERSION
3030ARG CHANNEL
3131
32- COPY --from=ghcr.io/astral-sh/uv:latest /uv /uvx /bin/
33-
3432RUN apt-get update && \
35- apt-get install -y git && \
36- rm -rf /var/lib/apt/lists/*
33+ apt-get install -y git python3.9 pip \
34+ && rm -rf /var/lib/apt/lists/*
3735
3836WORKDIR /app
3937
4038COPY --from=build /source/dist/backend/app ./app
4139COPY --from=build /source/dist/static ./app/static
4240COPY --from=build /source/dist/requirements.txt .
4341
44- RUN uv python install 3.9
45-
46- ENV UV_CACHE_DIR="/tmp/uv-cache"
47-
48- RUN uv venv --python 3.9 && \
49- . .venv/bin/activate && \
50- uv pip install --upgrade pip wheel && \
51- uv pip install --no-cache-dir -r requirements.txt
42+ RUN pip install --upgrade pip wheel \
43+ && pip install --no-cache-dir -r requirements.txt
5244
5345RUN chown -R 568:568 /app
5446
@@ -60,4 +52,6 @@ LABEL org.opencontainers.image.version="release"
6052
6153EXPOSE 6868
6254
55+ USER 568
56+
6357COPY --chmod=0755 apps/profilarr/promknight-entrypoint.sh /promknight-entrypoint.sh
Original file line number Diff line number Diff line change @@ -21,7 +21,4 @@ cat << "EOF"
2121
2222EOF
2323
24- exec /app/.venv/bin/gunicorn \
25- --bind 0.0.0.0:6868 \
26- --timeout 600 \
27- " app.main:create_app()"
24+ exec gunicorn --bind 0.0.0.0:6868 --timeout 600 " app.main:create_app()"
You can’t perform that action at this time.
0 commit comments