Spaces:
Sleeping
Sleeping
neerajkalyank
commited on
Commit
•
5dedbe7
1
Parent(s):
f8598ca
Update Dockerfile
Browse files- Dockerfile +6 -4
Dockerfile
CHANGED
@@ -1,10 +1,12 @@
|
|
1 |
# Use an official Python image from the Docker Hub
|
2 |
FROM python:3.10-slim
|
3 |
|
4 |
-
#
|
5 |
-
|
6 |
-
|
7 |
-
|
|
|
|
|
8 |
|
9 |
# Copy the requirements file and install Python dependencies
|
10 |
COPY requirements.txt .
|
|
|
1 |
# Use an official Python image from the Docker Hub
|
2 |
FROM python:3.10-slim
|
3 |
|
4 |
+
# Copy setup.sh and give execute permission
|
5 |
+
COPY setup.sh /setup.sh
|
6 |
+
RUN chmod +x /setup.sh
|
7 |
+
|
8 |
+
# Run setup.sh to install system dependencies
|
9 |
+
RUN /setup.sh
|
10 |
|
11 |
# Copy the requirements file and install Python dependencies
|
12 |
COPY requirements.txt .
|