Spaces:
Runtime error
Runtime error
Delete Dockerfile
Browse files- Dockerfile +0 -24
Dockerfile
DELETED
@@ -1,24 +0,0 @@
|
|
1 |
-
# Use a base image with Python
|
2 |
-
FROM python:3.9-slim
|
3 |
-
|
4 |
-
# Install system dependencies
|
5 |
-
RUN apt-get update && \
|
6 |
-
apt-get install -y build-essential gfortran libopenblas-dev liblapack-dev python3-dev
|
7 |
-
|
8 |
-
# Upgrade pip and setuptools
|
9 |
-
RUN pip install --upgrade pip setuptools
|
10 |
-
|
11 |
-
# Install Cython and NumPy
|
12 |
-
RUN pip install cython numpy
|
13 |
-
|
14 |
-
# Install Hugging Face transformers and datasets
|
15 |
-
RUN pip install transformers datasets
|
16 |
-
|
17 |
-
# Copy the application code
|
18 |
-
COPY . .
|
19 |
-
|
20 |
-
# Install application dependencies
|
21 |
-
RUN pip install -r requirements.txt
|
22 |
-
|
23 |
-
# Command to run your application
|
24 |
-
CMD ["python", "app.py"]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|