Open clement-igonet opened 10 months ago
As a first step to go to docker world, to avoid to manage venv or conda, I suggest a ./rift-engine/Dockerfile for rift-engine:
./rift-engine/Dockerfile
FROM python:3.10.13-bookworm WORKDIR /rift-engine COPY . /rift-engine RUN pip install -e . CMD python -m rift.server.core --host 0.0.0.0 --port 7797
And then a docker-compose.yml file:
docker-compose.yml
version: '3.9' services: rift-engine: build: context: ./rift-engine dockerfile: Dockerfile command: python -m rift.server.core --host 0.0.0.0 --port 7797 ports: - 7797:7797
Then, here is the command to build: docker compose build rift-engine
docker compose build rift-engine
Here is the command to run: docker compose up rift-engine
docker compose up rift-engine
As a first step to go to docker world, to avoid to manage venv or conda, I suggest a
./rift-engine/Dockerfile
for rift-engine:And then a
docker-compose.yml
file:Then, here is the command to build:
docker compose build rift-engine
Here is the command to run:
docker compose up rift-engine