Update Dockerfile
Browse files- Dockerfile +4 -4
Dockerfile
CHANGED
|
@@ -10,11 +10,11 @@ COPY requirements.txt .
|
|
| 10 |
# Install any needed packages specified in requirements.txt
|
| 11 |
RUN pip install --no-cache-dir -r requirements.txt
|
| 12 |
|
| 13 |
-
# Copy the
|
| 14 |
-
COPY
|
| 15 |
|
| 16 |
-
# Make port
|
| 17 |
-
EXPOSE
|
| 18 |
|
| 19 |
# Run main.py when the container launches
|
| 20 |
CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "8000"]
|
|
|
|
| 10 |
# Install any needed packages specified in requirements.txt
|
| 11 |
RUN pip install --no-cache-dir -r requirements.txt
|
| 12 |
|
| 13 |
+
# Copy the rest of the application's code into the container at /app
|
| 14 |
+
COPY . .
|
| 15 |
|
| 16 |
+
# Make port 80 available to the world outside this container
|
| 17 |
+
EXPOSE 80
|
| 18 |
|
| 19 |
# Run main.py when the container launches
|
| 20 |
CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "8000"]
|