mirror of
https://gitlab.com/simple-stock-bots/simple-discord-stock-bot.git
synced 2025-08-02 03:21:31 +00:00
updated to newest version of discord and bot files
This commit is contained in:
17
Dockerfile
17
Dockerfile
@@ -1,8 +1,17 @@
|
||||
FROM python:3.9-buster
|
||||
FROM python:3.9-buster AS builder
|
||||
|
||||
|
||||
COPY requirements.txt /requirements.txt
|
||||
RUN pip install --user -r requirements.txt
|
||||
|
||||
|
||||
FROM python:3.9-slim
|
||||
|
||||
ENV MPLBACKEND=Agg
|
||||
|
||||
COPY --from=builder /root/.local /root/.local
|
||||
|
||||
COPY requirements.txt ./
|
||||
RUN pip install --no-cache-dir -r requirements.txt
|
||||
|
||||
COPY . .
|
||||
|
||||
CMD [ "python", "./bot.py" ]
|
||||
CMD [ "python", "./bot.py" ]
|
Reference in New Issue
Block a user