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