Skip to content

Compose

Evil Wizard edited this page Nov 7, 2023 · 4 revisions

A docker-compose configuration file is included to simplify the build & deployment of the image.

Build - No Cache

This is only necessary when completely rebuilding the image to make sure all parts of the py-fapi-31-slim container/service are rebuilt for the image.

sudo docker-compose -f ./docker-compose-build.yaml build --no-cache py-fapi-31-slim

Build & Up

This will try to use a local version or rebuild the image with current context.

sudo docker-compose -f ./docker-compose-build.yaml up --build -d
Clone this wiki locally