Spaces:
Runtime error
Runtime error
samyak152002
commited on
Update Dockerfile
Browse files- Dockerfile +2 -2
Dockerfile
CHANGED
@@ -1,9 +1,9 @@
|
|
|
|
1 |
# Use the official Python image from the Docker Hub
|
2 |
FROM python:3.10-slim
|
3 |
|
4 |
# Set environment variables
|
5 |
ENV PYTHONUNBUFFERED=1
|
6 |
-
ENV PORT=8000
|
7 |
|
8 |
# Create a working directory
|
9 |
WORKDIR /app
|
@@ -19,7 +19,7 @@ COPY requirements.txt .
|
|
19 |
# Install Python dependencies
|
20 |
RUN pip install --no-cache-dir -r requirements.txt
|
21 |
|
22 |
-
# Copy the application code
|
23 |
COPY app /app/app
|
24 |
|
25 |
# Expose port 8000 for the API
|
|
|
1 |
+
# Dockerfile
|
2 |
# Use the official Python image from the Docker Hub
|
3 |
FROM python:3.10-slim
|
4 |
|
5 |
# Set environment variables
|
6 |
ENV PYTHONUNBUFFERED=1
|
|
|
7 |
|
8 |
# Create a working directory
|
9 |
WORKDIR /app
|
|
|
19 |
# Install Python dependencies
|
20 |
RUN pip install --no-cache-dir -r requirements.txt
|
21 |
|
22 |
+
# Copy the application code, including templates
|
23 |
COPY app /app/app
|
24 |
|
25 |
# Expose port 8000 for the API
|