Skip to content

Commit

Permalink
Fixed CMD
Browse files Browse the repository at this point in the history
  • Loading branch information
antoninoLorenzo committed Jul 14, 2024
1 parent e3dc02b commit 215f987
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ RUN echo "MODEL=$MODEL" && \
echo "ENDPOINT=$ENDPOINT"

EXPOSE 8000
CMD ["fastapi", "dev", "--host", "0.0.0.0", "./src/api.py"]
CMD ["fastapi", "dev", "--host", "0.0.0.0", "./AI-OPS/src/api.py"]

# docker build -t ai-ops:api-dev --build-arg ollama_endpoint=ENDPOINT .
# docker run -p 8000:8000 ai-ops:api-dev

0 comments on commit 215f987

Please sign in to comment.