Commit
·
deef937
1
Parent(s):
6ced062
update docker file
Browse files- Dockerfile +2 -5
Dockerfile
CHANGED
|
@@ -9,15 +9,12 @@ RUN apt-get update && apt-get install -y \
|
|
| 9 |
build-essential \
|
| 10 |
&& rm -rf /var/lib/apt/lists/*
|
| 11 |
|
| 12 |
-
# Copy
|
| 13 |
-
COPY
|
| 14 |
|
| 15 |
# Install Python dependencies
|
| 16 |
RUN pip install --no-cache-dir -r requirements.txt
|
| 17 |
|
| 18 |
-
# Create necessary directories for data files
|
| 19 |
-
RUN mkdir -p data
|
| 20 |
-
|
| 21 |
# Expose the port the app runs on
|
| 22 |
EXPOSE 7860
|
| 23 |
|
|
|
|
| 9 |
build-essential \
|
| 10 |
&& rm -rf /var/lib/apt/lists/*
|
| 11 |
|
| 12 |
+
# Copy all application files
|
| 13 |
+
COPY . .
|
| 14 |
|
| 15 |
# Install Python dependencies
|
| 16 |
RUN pip install --no-cache-dir -r requirements.txt
|
| 17 |
|
|
|
|
|
|
|
|
|
|
| 18 |
# Expose the port the app runs on
|
| 19 |
EXPOSE 7860
|
| 20 |
|