Spaces:
Sleeping
Sleeping
apple muncy commited on
Commit ·
3062ba4
1
Parent(s): b3fe4f7
add mc to Dockerfile
Browse filesSigned-off-by: apple muncy <apple@dell-deb-12-5.local>
- Dockerfile +4 -1
Dockerfile
CHANGED
|
@@ -6,6 +6,7 @@ WORKDIR /app
|
|
| 6 |
# Install system dependencies
|
| 7 |
RUN apt-get update && apt-get install -y \
|
| 8 |
git \
|
|
|
|
| 9 |
&& rm -rf /var/lib/apt/lists/*
|
| 10 |
|
| 11 |
# Copy project files
|
|
@@ -14,6 +15,7 @@ COPY server.py .
|
|
| 14 |
COPY mcp_server.py .
|
| 15 |
COPY env.example .
|
| 16 |
COPY README.md .
|
|
|
|
| 17 |
|
| 18 |
# Install Python dependencies
|
| 19 |
RUN pip install --no-cache-dir -e .
|
|
@@ -24,10 +26,11 @@ USER appuser
|
|
| 24 |
|
| 25 |
# Expose port
|
| 26 |
EXPOSE 8000
|
|
|
|
| 27 |
|
| 28 |
# Health check
|
| 29 |
HEALTHCHECK --interval=30s --timeout=10s --start-period=5s --retries=3 \
|
| 30 |
CMD curl -f http://localhost:8000/ || exit 1
|
| 31 |
|
| 32 |
# Run the application
|
| 33 |
-
CMD ["python", "
|
|
|
|
| 6 |
# Install system dependencies
|
| 7 |
RUN apt-get update && apt-get install -y \
|
| 8 |
git \
|
| 9 |
+
mc \
|
| 10 |
&& rm -rf /var/lib/apt/lists/*
|
| 11 |
|
| 12 |
# Copy project files
|
|
|
|
| 15 |
COPY mcp_server.py .
|
| 16 |
COPY env.example .
|
| 17 |
COPY README.md .
|
| 18 |
+
COPY tag.log .
|
| 19 |
|
| 20 |
# Install Python dependencies
|
| 21 |
RUN pip install --no-cache-dir -e .
|
|
|
|
| 26 |
|
| 27 |
# Expose port
|
| 28 |
EXPOSE 8000
|
| 29 |
+
EXPOSE 443
|
| 30 |
|
| 31 |
# Health check
|
| 32 |
HEALTHCHECK --interval=30s --timeout=10s --start-period=5s --retries=3 \
|
| 33 |
CMD curl -f http://localhost:8000/ || exit 1
|
| 34 |
|
| 35 |
# Run the application
|
| 36 |
+
CMD ["python", "app.py"]
|