Upload Dockerfile

#1
by newrecha - opened
Files changed (1) hide show
  1. Dockerfile +5 -20
Dockerfile CHANGED
@@ -1,20 +1,5 @@
1
- FROM python:3.11-slim
2
-
3
- WORKDIR /app
4
-
5
- # Install dependencies
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"]