aalienau-cmyk commited on
Commit ·
a02ba28
1
Parent(s): 16bbbb2
Add Dockerfile and HF Space metadata for Docker-based deployment
Browse files- Dockerfile +17 -0
- README.md +11 -0
Dockerfile
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
FROM python:3.11-slim
|
| 2 |
+
|
| 3 |
+
# Set working directory
|
| 4 |
+
WORKDIR /app
|
| 5 |
+
|
| 6 |
+
# Install dependencies
|
| 7 |
+
COPY requirements.txt .
|
| 8 |
+
RUN pip install --no-cache-dir -r requirements.txt
|
| 9 |
+
|
| 10 |
+
# Copy application code
|
| 11 |
+
COPY . .
|
| 12 |
+
|
| 13 |
+
# Expose port
|
| 14 |
+
EXPOSE 7860
|
| 15 |
+
|
| 16 |
+
# Run the app
|
| 17 |
+
CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]
|
README.md
CHANGED
|
@@ -1,3 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
# Autonomer Krypto-Trading-Bot
|
| 2 |
|
| 3 |
Ein zweistufiger autonomer Krypto-Trading-Bot:
|
|
|
|
| 1 |
+
---
|
| 2 |
+
title: Trading Bot
|
| 3 |
+
emoji: 🐨
|
| 4 |
+
colorFrom: blue
|
| 5 |
+
colorTo: green
|
| 6 |
+
sdk: docker
|
| 7 |
+
pinned: false
|
| 8 |
+
license: apache-2.0
|
| 9 |
+
app_port: 7860
|
| 10 |
+
---
|
| 11 |
+
|
| 12 |
# Autonomer Krypto-Trading-Bot
|
| 13 |
|
| 14 |
Ein zweistufiger autonomer Krypto-Trading-Bot:
|