Update Dockerfile
Browse files- Dockerfile +2 -2
Dockerfile
CHANGED
|
@@ -4,8 +4,8 @@ FROM python:3.9-slim
|
|
| 4 |
# Install dependencies (because we need socket magic)
|
| 5 |
RUN pip install fastapi uvicorn
|
| 6 |
|
| 7 |
-
# Copy the code
|
| 8 |
-
COPY main.py
|
| 9 |
|
| 10 |
# Expose port 8000 (because FastAPI defaults to it)
|
| 11 |
EXPOSE 8000
|
|
|
|
| 4 |
# Install dependencies (because we need socket magic)
|
| 5 |
RUN pip install fastapi uvicorn
|
| 6 |
|
| 7 |
+
# Copy the code
|
| 8 |
+
COPY main.py
|
| 9 |
|
| 10 |
# Expose port 8000 (because FastAPI defaults to it)
|
| 11 |
EXPOSE 8000
|