add dockerfile
This commit is contained in:
parent
c895dc7627
commit
8b3740ce0c
16
Dockerfile
Normal file
16
Dockerfile
Normal file
@ -0,0 +1,16 @@
|
||||
FROM python:3.9-slim AS install
|
||||
|
||||
RUN apt update
|
||||
RUN apt install -y build-essential
|
||||
RUN pip install discord
|
||||
RUN pip install 'python-socketio>=4.0,<5.0' # heavynoode must be on an old version, because 5 doesn't work
|
||||
|
||||
|
||||
FROM python:3.9-slim
|
||||
|
||||
WORKDIR /minebot
|
||||
CMD ["python", "bot.py"]
|
||||
|
||||
COPY --from=install /usr/local/lib/python3.9/site-packages /usr/local/lib/python3.9/site-packages
|
||||
|
||||
COPY . /minebot
|
Loading…
x
Reference in New Issue
Block a user