mirror of
https://github.com/narrrl/holy-flavor-rater.git
synced 2026-11-04 00:47:02 +01:00
fixed some backend issues
This commit is contained in:
1 parent
466d0a0f9f
commit
2b2b4cf48f
13 files changed
+6801
-63
No files matched your search
@@ -13,6 +13,13 @@ COPY requirements.txt .
|
||||
RUN apt-get update && apt-get install -y curl && rm -rf /var/lib/apt/lists/*
|
||||
RUN pip install --no-cache-dir -r requirements.txt
|
||||
|
||||
# Non-root user for celery workers/beat. UID matches typical host (1000) so
|
||||
# bind-mounted volumes (./backend, ./legacy, media/) stay writable. Override
|
||||
# by rebuilding with --build-arg APP_UID=<your uid> if your host differs.
|
||||
ARG APP_UID=1000
|
||||
ARG APP_GID=1000
|
||||
RUN groupadd -g ${APP_GID} app && useradd -u ${APP_UID} -g app -m -s /bin/bash app
|
||||
|
||||
# Copy the rest of the backend code
|
||||
COPY . .
|
||||
|
||||
|
||||
Reference in new issue
Block a user