docker
This commit is contained in:
11
Dockerfile
Normal file
11
Dockerfile
Normal file
@@ -0,0 +1,11 @@
|
||||
FROM python:latest
|
||||
LABEL authors="bacon"
|
||||
WORKDIR /app
|
||||
COPY requirements.txt /app
|
||||
RUN apt-get update && apt-get install ffmpeg -y
|
||||
RUN python3 -m venv venv/
|
||||
CMD source venv/bin/activate
|
||||
RUN pip install -r requirements.txt
|
||||
|
||||
COPY src/ /app
|
||||
ENTRYPOINT ["python", "bot.py"]
|
||||
Reference in New Issue
Block a user