Spaces:
Build error
Build error
Commit
·
df2595f
1
Parent(s):
cb4eb1f
Update Dockerfile
Browse files- Dockerfile +4 -4
Dockerfile
CHANGED
@@ -1,11 +1,11 @@
|
|
1 |
-
FROM python:3.
|
2 |
|
3 |
-
WORKDIR /
|
4 |
-
RUN chmod 777 /
|
5 |
|
6 |
COPY requirements.txt .
|
7 |
RUN pip3 install --no-cache-dir -r requirements.txt
|
8 |
|
9 |
COPY . .
|
10 |
|
11 |
-
CMD python3
|
|
|
1 |
+
FROM python:3.10
|
2 |
|
3 |
+
WORKDIR /app
|
4 |
+
RUN chmod 777 /app
|
5 |
|
6 |
COPY requirements.txt .
|
7 |
RUN pip3 install --no-cache-dir -r requirements.txt
|
8 |
|
9 |
COPY . .
|
10 |
|
11 |
+
CMD nohup python3 bot.py &
|