Merge pull request #578 from Allenmylath/patch-15

Create Dockerfile
This commit is contained in:
Aleix Conchillo Flaqué
2024-10-14 08:57:34 -07:00
committed by GitHub

View File

@@ -0,0 +1,15 @@
FROM python:3.10-bullseye
RUN mkdir /app
COPY *.py /app/
COPY requirements.txt /app/
COPY .env /app/
WORKDIR /app
RUN pip3 install -r requirements.txt
EXPOSE 7860
CMD ["python3", "bot.py"]