Spaces:
Build error
Build error
Update Dockerfile
Browse files- Dockerfile +8 -1
Dockerfile
CHANGED
|
@@ -25,7 +25,14 @@ WORKDIR /app
|
|
| 25 |
# Install python depencies
|
| 26 |
RUN pip3 install --upgrade pip && pip3 install --no-cache-dir -q -r requirements.txt
|
| 27 |
|
| 28 |
-
#
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 29 |
EXPOSE 5000
|
| 30 |
|
| 31 |
# # Run the image as a non-root user
|
|
|
|
| 25 |
# Install python depencies
|
| 26 |
RUN pip3 install --upgrade pip && pip3 install --no-cache-dir -q -r requirements.txt
|
| 27 |
|
| 28 |
+
# Pull data
|
| 29 |
+
WORKDIR /app/dataset
|
| 30 |
+
RUN python3 pull_data.py
|
| 31 |
+
|
| 32 |
+
# Move working directory
|
| 33 |
+
WORKDIR /app
|
| 34 |
+
|
| 35 |
+
# Expose port 5000
|
| 36 |
EXPOSE 5000
|
| 37 |
|
| 38 |
# # Run the image as a non-root user
|