Readded dockerfile as heroku uses it apparently..?
This commit is contained in:
parent
1a4af0c766
commit
6b44995333
6
docker-compose.yml
Normal file
6
docker-compose.yml
Normal file
@ -0,0 +1,6 @@
|
||||
version: '3'
|
||||
services:
|
||||
sebibot:
|
||||
build: .
|
||||
volumes:
|
||||
- .:/bot
|
||||
19
dockerfile
Normal file
19
dockerfile
Normal file
@ -0,0 +1,19 @@
|
||||
FROM ubuntu:latest
|
||||
ENV LC_ALL C
|
||||
MAINTAINER PUFFDIP
|
||||
|
||||
ADD . /bot
|
||||
WORKDIR /bot
|
||||
RUN apt-get update && \
|
||||
apt-get upgrade -y && \
|
||||
apt-get autoremove -y && \
|
||||
apt-get install software-properties-common -y
|
||||
RUN add-apt-repository ppa:deadsnakes/ppa && \
|
||||
apt-get update && apt-get install python3.6 && \
|
||||
apt-get install python3-pip -y
|
||||
RUN apt install git -y
|
||||
RUN python3.6 -m pip install --upgrade pip && \
|
||||
python3.6 -m pip install -r requirements.txt && \
|
||||
python3.6 -m pip install -U git+https://github.com/Rapptz/discord.py@rewrite#egg=discord.py[voice]
|
||||
|
||||
cmd ["python3.6","-m","src"]
|
||||
@ -12,3 +12,5 @@ opuslib
|
||||
dataclasses
|
||||
PyNaCl
|
||||
youtube_dl
|
||||
# Duh!
|
||||
git+https://github.com/rapptz/discord.py@rewrite
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user