- remove swarm / podman support - remove docker-compose.yml, btrixcloud.swarm package, and podman/swarm scripts from scripts/ dir- - remove python-on-whales - add error if not running in k8s - remove python-on-whales
14 lines
248 B
Docker
14 lines
248 B
Docker
FROM docker.io/library/python:3.10-slim
|
|
|
|
WORKDIR /app
|
|
|
|
ADD requirements.txt /app
|
|
|
|
RUN pip install -r requirements.txt
|
|
|
|
ADD btrixcloud/ /app/btrixcloud/
|
|
|
|
CMD uvicorn btrixcloud.main:app_root --host 0.0.0.0 --access-log --log-level info
|
|
|
|
EXPOSE 8000
|