File size: 334 Bytes
eb983df
 
 
 
b01521d
 
 
 
eb983df
 
 
3a33465
 
eb983df
 
72390e9
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
FROM ghcr.io/meta-pytorch/openenv-base:latest

WORKDIR /app

COPY requirements.txt ./

RUN pip install --no-cache-dir -r requirements.txt \
&& pip install --no-cache-dir "openenv-core[core]>=0.2.1"

COPY . /app

ENV MAX_CONCURRENT_ENVS=16

EXPOSE 8000

CMD ["uvicorn", "origami_server.app:app", "--host", "0.0.0.0", "--port", "8000"]