DJ-Goanna-Coding commited on
Commit
fc8b59d
·
verified ·
1 Parent(s): 5d43434

Fix space container runtime and alignment [Dockerfile]

Browse files
Files changed (1) hide show
  1. Dockerfile +15 -15
Dockerfile CHANGED
@@ -1,15 +1,15 @@
1
- FROM python:3.10-slim
2
-
3
- ENV PYTHONDONTWRITEBYTECODE=1 \
4
- PYTHONUNBUFFERED=1
5
-
6
- WORKDIR /app
7
-
8
- COPY requirements.txt /app/requirements.txt
9
- RUN pip install --no-cache-dir -r /app/requirements.txt
10
-
11
- COPY . /app
12
-
13
- EXPOSE 8000
14
-
15
- CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "8000"]
 
1
+ FROM python:3.10-slim
2
+
3
+ ENV PYTHONDONTWRITEBYTECODE=1 \
4
+ PYTHONUNBUFFERED=1
5
+
6
+ WORKDIR /app
7
+
8
+ COPY requirements.txt /app/requirements.txt
9
+ RUN pip install --no-cache-dir -r /app/requirements.txt
10
+
11
+ COPY . /app
12
+
13
+ EXPOSE 7860
14
+
15
+ CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]