up docker dan req
Browse files- Dockerfile +2 -0
- requirements.txt +4 -1
Dockerfile
CHANGED
@@ -12,6 +12,8 @@ WORKDIR /app
|
|
12 |
# Copy the app files to the container
|
13 |
COPY . /app
|
14 |
|
|
|
|
|
15 |
# Expose the Streamlit port
|
16 |
EXPOSE 8501
|
17 |
|
|
|
12 |
# Copy the app files to the container
|
13 |
COPY . /app
|
14 |
|
15 |
+
RUN pip install -r requirements.txt
|
16 |
+
|
17 |
# Expose the Streamlit port
|
18 |
EXPOSE 8501
|
19 |
|
requirements.txt
CHANGED
@@ -1,2 +1,5 @@
|
|
|
|
1 |
torch
|
2 |
-
torchvision
|
|
|
|
|
|
1 |
+
streamlit
|
2 |
torch
|
3 |
+
torchvision
|
4 |
+
pillow
|
5 |
+
requests
|