Add an example of api server so that devs can quickly get up a bot running along with its api
12 lines
166 B
Docker
12 lines
166 B
Docker
FROM python:3.11 AS backend
|
|
|
|
WORKDIR /usr/src/api
|
|
COPY requirements.txt .
|
|
RUN pip install -r requirements.txt
|
|
|
|
COPY . .
|
|
|
|
EXPOSE 5000
|
|
|
|
CMD ["python", "api_server.py"]
|