Remove b7s and add support for offchain-node

This commit is contained in:
conache
2024-08-07 19:27:04 +03:00
parent 5d70e9feee
commit d2b1ff68f9
6 changed files with 53 additions and 118 deletions

17
Dockerfile_inference Normal file
View File

@ -0,0 +1,17 @@
# Use an official Python runtime as the base image
FROM amd64/python:3.9-buster as project_env
# Set the working directory in the container
WORKDIR /app
# Install dependencies
COPY requirements.txt requirements.txt
RUN pip install --upgrade pip setuptools \
&& pip install -r requirements.txt
FROM project_env
COPY . /app/
# Set the entrypoint command
CMD ["gunicorn", "--conf", "/app/gunicorn_conf.py", "main:app"]