Skip to content

Commit

Permalink
Updated docker for backend--not working
Browse files Browse the repository at this point in the history
  • Loading branch information
neal-logan committed Nov 23, 2024
1 parent 60af79e commit 6afdf84
Show file tree
Hide file tree
Showing 9 changed files with 496 additions and 436 deletions.
2 changes: 1 addition & 1 deletion MinuteMate/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,6 @@

##### Setup - Docker

TODO



11 changes: 6 additions & 5 deletions MinuteMate/back/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
FROM python:3.11-slim
WORKDIR /App
COPY . /App
RUN python -m pip install -r requirements.txt
FROM python:3.11
WORKDIR /app
COPY . /app
RUN pip install --upgrade pip
RUN pip install -r requirements.txt
EXPOSE 8000
CMD [" ", "start","--port","8002","--host","0.0.0.0"]
CMD ["uvicorn", "main:app","--port","8000","--host","localhost"]
12 changes: 12 additions & 0 deletions MinuteMate/back/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
services:
chat_backend:
build:
context: ./
dockerfile: Dockerfile
ports:
- 8000:8000
environment:
- WEAVIATE_ENDPOINT_URL=$WEAVIATE_ENDPOINT_URL
- WEAVIATE_API_KEY=$WEAVIATE_API_KEY
- OPENAI_API_KEY=$OPENAI_API_KEY

Loading

0 comments on commit 6afdf84

Please sign in to comment.