applemuncy commited on
Commit
c323042
·
verified ·
1 Parent(s): eaa9ba3

Delete Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +0 -33
Dockerfile DELETED
@@ -1,33 +0,0 @@
1
- FROM python:3.11-slim
2
-
3
- # Set working directory
4
- WORKDIR /app
5
-
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
12
- COPY pyproject.toml .
13
- 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 .
20
-
21
- # Create a non-root user
22
- RUN useradd -m -u 1000 appuser && chown -R appuser:appuser /app
23
- 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", "server.py"]