refactor
This commit is contained in:
+6
-3
@@ -12,8 +12,11 @@ RUN groupadd -g 1000 appuser && useradd -u 1000 -g appuser -m appuser
|
||||
COPY requirements.txt .
|
||||
RUN pip install --no-cache-dir -r requirements.txt
|
||||
|
||||
COPY media_date_cache.py .
|
||||
COPY webhook_server.py .
|
||||
# Copy new modular structure
|
||||
COPY nfoguard.py .
|
||||
COPY core/ ./core/
|
||||
COPY clients/ ./clients/
|
||||
COPY VERSION .
|
||||
|
||||
RUN mkdir -p /app/data && chown -R appuser:appuser /app
|
||||
|
||||
@@ -44,4 +47,4 @@ HEALTHCHECK --interval=30s --timeout=10s --start-period=5s --retries=3 \
|
||||
|
||||
EXPOSE 8080
|
||||
ENTRYPOINT ["/entrypoint.sh"]
|
||||
CMD ["python", "webhook_server.py"]
|
||||
CMD ["python", "nfoguard.py"]
|
||||
|
||||
Reference in New Issue
Block a user