Skip to content

Repo to assist with Dockerfile speed presentation for DDL group

Notifications You must be signed in to change notification settings

GemCityTECH/ddl-dockerfiles

Repository files navigation

DDL Dockerfiles

This repository is for support of a talk at the Dayton Dynamic Languages group about writing Dockerfiles to optimize for speed and size.

Prerequisites

Python 3.12, Poetry, and Docker

How to run

From the command line

poetry shell
poetry install
cd api
uvicorn main:app --host 0.0.0.0 --port 8000 --reload

Using Docker

docker build -f Dockerfile_0 -t image_0 .
docker run -p 8000:8000 image_0

Using Docker Compose

Edit compose.yaml to point to the Dockerfile you wish to target.

docker-compose up --build

About

Repo to assist with Dockerfile speed presentation for DDL group

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published