tuning ui and adding adaptive themeing to extension

This commit is contained in:
Bryan Van Deusen
2026-01-25 18:47:06 -05:00
parent dc6755a0c2
commit 997f31ae27
23 changed files with 978 additions and 114 deletions
+7 -2
View File
@@ -16,6 +16,7 @@ WORKDIR /app
RUN apt-get update && apt-get install -y --no-install-recommends \
gcc \
libpq-dev \
gosu \
&& rm -rf /var/lib/apt/lists/*
# Install Python dependencies
@@ -28,14 +29,18 @@ COPY backend/ .
# Copy built frontend from Stage 1
COPY --from=frontend-build /frontend/dist /app/static
# Copy and set up entrypoint script
COPY docker-entrypoint.sh /usr/local/bin/
RUN chmod +x /usr/local/bin/docker-entrypoint.sh
# Create data directories
RUN mkdir -p /data/downloads /data/config /data/cookies
# Run as non-root user
# Create non-root user (entrypoint will switch to this user after fixing permissions)
RUN useradd -m -u 1000 appuser && \
chown -R appuser:appuser /app /data
USER appuser
EXPOSE 8080
ENTRYPOINT ["docker-entrypoint.sh"]
CMD ["hypercorn", "app.main:app", "--bind", "0.0.0.0:8080"]