15
examples/websocket-server/Dockerfile
Normal file
15
examples/websocket-server/Dockerfile
Normal 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"]
|
||||
Reference in New Issue
Block a user