From 6493f036c171a89241fcb96944102ece68120467 Mon Sep 17 00:00:00 2001 From: Carolin Stolpe <8385345+castolpe@users.noreply.github.com> Date: Thu, 7 Nov 2024 14:17:01 +0100 Subject: [PATCH] Replace local Dockerfile with file from Dockerhub --- docker-compose.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index aa362a6..06cb982 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,11 +1,9 @@ version: '3' services: fastapi: - image: fastapi container_name: fastapi - build: - context: . - dockerfile: Dockerfile.api + image: cstolpewbs/fastapi:latest + pull_policy: always ports: - "8000:8000" prometheus: