Update Dockerfile
Browse files- Dockerfile +4 -2
Dockerfile
CHANGED
@@ -4,6 +4,9 @@ FROM python:3.10-slim
|
|
4 |
# Set working directory
|
5 |
WORKDIR /app
|
6 |
|
|
|
|
|
|
|
7 |
|
8 |
# Install dependencies
|
9 |
RUN pip install --no-cache-dir -r requirements.txt -c constraints.txt
|
@@ -11,8 +14,7 @@ RUN pip install --no-cache-dir -r requirements.txt -c constraints.txt
|
|
11 |
# Optional: install as a local package (important!)
|
12 |
RUN pip install -e .
|
13 |
|
14 |
-
|
15 |
-
COPY . .
|
16 |
|
17 |
# Expose Streamlit default port
|
18 |
EXPOSE 7860
|
|
|
4 |
# Set working directory
|
5 |
WORKDIR /app
|
6 |
|
7 |
+
# Copy all files to the containedocker rmi recommendation-system
|
8 |
+
COPY . .
|
9 |
+
|
10 |
|
11 |
# Install dependencies
|
12 |
RUN pip install --no-cache-dir -r requirements.txt -c constraints.txt
|
|
|
14 |
# Optional: install as a local package (important!)
|
15 |
RUN pip install -e .
|
16 |
|
17 |
+
|
|
|
18 |
|
19 |
# Expose Streamlit default port
|
20 |
EXPOSE 7860
|