Spaces:
Paused
Paused
Upload Dockerfile
#1
by
newrecha
- opened
- Dockerfile +5 -20
Dockerfile
CHANGED
|
@@ -1,20 +1,5 @@
|
|
| 1 |
-
FROM
|
| 2 |
-
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
COPY app/requirements.txt .
|
| 7 |
-
RUN pip install --no-cache-dir -r requirements.txt
|
| 8 |
-
|
| 9 |
-
# Copy application code
|
| 10 |
-
COPY app/ .
|
| 11 |
-
|
| 12 |
-
# Create a directory for the credentials
|
| 13 |
-
RUN mkdir -p /app/credentials
|
| 14 |
-
|
| 15 |
-
# Expose the port
|
| 16 |
-
EXPOSE 8050
|
| 17 |
-
|
| 18 |
-
# Command to run the application
|
| 19 |
-
# Use the default Hugging Face port 7860
|
| 20 |
-
CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860"]
|
|
|
|
| 1 |
+
FROM ghcr.io/wyeeeee/hajimi:latest
|
| 2 |
+
|
| 3 |
+
EXPOSE 7860
|
| 4 |
+
|
| 5 |
+
CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "7860"]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|