Skip to content

Commit

Permalink
Update docker
Browse files Browse the repository at this point in the history
  • Loading branch information
jackra1n committed Dec 29, 2023
1 parent b579fe4 commit b977d90
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 9 deletions.
11 changes: 5 additions & 6 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
FROM python:3.11
FROM gorialis/discord.py

WORKDIR /bot

VOLUME /bot/logs

COPY . .
COPY requirements.txt .
COPY requirements.txt ./
RUN pip install -r requirements.txt

RUN pip install --no-cache-dir -r requirements.txt
COPY . .

CMD ["python", "bot/main.py"]
CMD ["python", "bot/main.py"]
6 changes: 3 additions & 3 deletions compose.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version: "3.7"
version: "3.8"

services:

Expand All @@ -16,7 +16,7 @@ services:
TZ: "Europe/Zurich"

lavalink:
image: fredboat/lavalink:master
image: fredboat/lavalink:latest
ports:
- 2333:2333
volumes:
Expand All @@ -32,6 +32,6 @@ services:
- postgres
restart: unless-stopped
volumes:
- ./logs:/bot/logs
- ./bot/logs:/bot/logs
- ./bot/core/version.toml:/bot/core/version.toml
- /etc/localtime:/etc/localtime:ro

0 comments on commit b977d90

Please sign in to comment.