Update Dockerfile
Browse files- Dockerfile +2 -2
Dockerfile
CHANGED
|
@@ -24,7 +24,7 @@ RUN pip install --no-cache-dir --upgrade pip && \
|
|
| 24 |
# Copy application files
|
| 25 |
COPY config.py .
|
| 26 |
COPY scira_server.py .
|
| 27 |
-
COPY
|
| 28 |
|
| 29 |
# Create a non-root user for security
|
| 30 |
RUN useradd -m -u 1000 appuser && chown -R appuser:appuser /app
|
|
@@ -38,4 +38,4 @@ HEALTHCHECK --interval=30s --timeout=30s --start-period=5s --retries=3 \
|
|
| 38 |
CMD curl -f http://localhost:7860/health || exit 1
|
| 39 |
|
| 40 |
# Start the application
|
| 41 |
-
CMD ["python", "
|
|
|
|
| 24 |
# Copy application files
|
| 25 |
COPY config.py .
|
| 26 |
COPY scira_server.py .
|
| 27 |
+
COPY app.py .
|
| 28 |
|
| 29 |
# Create a non-root user for security
|
| 30 |
RUN useradd -m -u 1000 appuser && chown -R appuser:appuser /app
|
|
|
|
| 38 |
CMD curl -f http://localhost:7860/health || exit 1
|
| 39 |
|
| 40 |
# Start the application
|
| 41 |
+
CMD ["python", "app.py"]
|