Spaces:
Runtime error
Runtime error
Anupam202224
commited on
Commit
•
1b66d8e
1
Parent(s):
63ff89c
Update Dockerfile
Browse files- Dockerfile +8 -0
Dockerfile
CHANGED
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
FROM python:3.8-slim
|
2 |
+
WORKDIR /app
|
3 |
+
COPY requirements.txt .
|
4 |
+
RUN pip install --no-cache-dir -r requirements.txt
|
5 |
+
COPY . .
|
6 |
+
CMD ["python", "your_script.py"]
|
7 |
+
docker build -t your_image_name .
|
8 |
+
docker run -p 8000:8000 your_image_name
|