Spaces:
Runtime error
Runtime error
Update Dockerfile
Browse files- Dockerfile +4 -3
Dockerfile
CHANGED
|
@@ -19,14 +19,15 @@ WORKDIR /app
|
|
| 19 |
|
| 20 |
# Install Python dependencies
|
| 21 |
RUN pip install --upgrade pip
|
| 22 |
-
RUN pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cpu
|
| 23 |
-
RUN pip install transformers accelerate requests psutil termcolor sk-learn
|
| 24 |
|
| 25 |
# Copy the current directory contents into the container at /app
|
| 26 |
COPY . /app
|
| 27 |
|
|
|
|
|
|
|
|
|
|
| 28 |
# Unzip the data.zip file into the /app/data directory
|
| 29 |
RUN unzip data.zip -d /app/data
|
| 30 |
|
| 31 |
# Set the default command to run when starting the container
|
| 32 |
-
CMD ["python", "
|
|
|
|
| 19 |
|
| 20 |
# Install Python dependencies
|
| 21 |
RUN pip install --upgrade pip
|
|
|
|
|
|
|
| 22 |
|
| 23 |
# Copy the current directory contents into the container at /app
|
| 24 |
COPY . /app
|
| 25 |
|
| 26 |
+
# install requirements
|
| 27 |
+
RUN pip instal -r requirements.txt
|
| 28 |
+
|
| 29 |
# Unzip the data.zip file into the /app/data directory
|
| 30 |
RUN unzip data.zip -d /app/data
|
| 31 |
|
| 32 |
# Set the default command to run when starting the container
|
| 33 |
+
CMD ["python", "m5.py"]
|