Andrew McCracken
Claude
commited on
Commit
·
7c501a5
1
Parent(s):
8f62d83
Copy main.py to Docker image to pick up syntax fixes
Browse files- Ensures latest main.py with f-string fixes is included
- Fixes SyntaxError in streaming endpoint
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
- Dockerfile.gpu +2 -1
Dockerfile.gpu
CHANGED
|
@@ -1,6 +1,6 @@
|
|
| 1 |
# Use pre-built GPU image from Docker Hub
|
| 2 |
# Build this image locally with: docker buildx build --platform linux/amd64 -f Dockerfile.base.gpu -t techdaskalos/cybersecchatbot:latest-gpu . --push
|
| 3 |
-
FROM techdaskalos/cybersecchatbot:
|
| 4 |
|
| 5 |
# Environment variables (already set in base image, but can override)
|
| 6 |
ENV PYTHONUNBUFFERED=1
|
|
@@ -24,6 +24,7 @@ RUN mkdir -p /data /app/models /app/knowledge_db /data/huggingface/hub /data/hug
|
|
| 24 |
|
| 25 |
# Copy test interface (needed for /test endpoint)
|
| 26 |
COPY test_interface.html /app/
|
|
|
|
| 27 |
|
| 28 |
EXPOSE 8000
|
| 29 |
CMD ["python", "main.py"]
|
|
|
|
| 1 |
# Use pre-built GPU image from Docker Hub
|
| 2 |
# Build this image locally with: docker buildx build --platform linux/amd64 -f Dockerfile.base.gpu -t techdaskalos/cybersecchatbot:latest-gpu . --push
|
| 3 |
+
FROM techdaskalos/cybersecchatbot:gpu
|
| 4 |
|
| 5 |
# Environment variables (already set in base image, but can override)
|
| 6 |
ENV PYTHONUNBUFFERED=1
|
|
|
|
| 24 |
|
| 25 |
# Copy test interface (needed for /test endpoint)
|
| 26 |
COPY test_interface.html /app/
|
| 27 |
+
COPY main.py /app/
|
| 28 |
|
| 29 |
EXPOSE 8000
|
| 30 |
CMD ["python", "main.py"]
|