mirror of
https://gitlab.com/simple-stock-bots/simple-discord-stock-bot.git
synced 2025-08-02 11:31:26 +00:00
add devcontainer stuff from telegram bot
This commit is contained in:
24
.devcontainer/Dockerfile
Normal file
24
.devcontainer/Dockerfile
Normal file
@@ -0,0 +1,24 @@
|
||||
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
|
||||
|
||||
# Formatting
|
||||
RUN pip install --no-cache-dir black
|
||||
# Jupyter Notebooks
|
||||
RUN pip install --no-cache-dir ipykernel
|
||||
|
||||
ENV DISCORD=TOKEN
|
||||
ENV IEX=TOKEN
|
||||
|
||||
COPY . .
|
||||
|
||||
# CMD [ "python", "./bot.py" ]
|
Reference in New Issue
Block a user