env
This commit is contained in:
+3
-1
@@ -7,8 +7,10 @@ ENV PYTHONUNBUFFERED=1
|
|||||||
|
|
||||||
COPY requirements.txt .
|
COPY requirements.txt .
|
||||||
|
|
||||||
|
RUN mkdir /app/database.db
|
||||||
|
|
||||||
RUN pip install --no-cache-dir -r requirements.txt
|
RUN pip install --no-cache-dir -r requirements.txt
|
||||||
|
|
||||||
COPY . .
|
COPY . .
|
||||||
|
|
||||||
CMD ["python", "bot.py"]
|
CMD ["python", "bot.py"]
|
||||||
|
|||||||
Binary file not shown.
+1
-1
@@ -8,7 +8,7 @@ services:
|
|||||||
- .env
|
- .env
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
- ./database.db:/app/database.db
|
- ./database/database.db:/app/database/database.db
|
||||||
|
|
||||||
dns:
|
dns:
|
||||||
- 8.8.8.8
|
- 8.8.8.8
|
||||||
|
|||||||
Reference in New Issue
Block a user