Sign inSign up

aminehy/docker-fastapi-ml

By aminehy

•Updated about 6 years ago

Image
0

81

aminehy/docker-fastapi-ml repository overview

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 .

Tag summary

Content type

Image

Digest

Size

421.1 MB

Last updated

about 6 years ago

docker pull aminehy/docker-fastapi-ml