Skip to content

amineHY/docker-fastapi-ml

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Docker Automated build Docker Pulls

Description

This repository contains a docker image that allows running API built using FastAPI.

Run the docker container

  • You can mount your folder in the container to directly run the api.py

    docker run -ti --rm -v $(pwd):/app -p 8000:8000 aminehy/docker-fastapi-ml:latest
  • or just run docker container

    docker run -ti --rm aminehy/docker-fastapi-ml:latest

Build docker image

You can build this docker image from a dockerfile using this command

docker build -t aminehy/docker-fastapi-ml:latest .

Releases

No releases published

Packages

No packages published