Skip to content

Commit

Permalink
port remove
Browse files Browse the repository at this point in the history
  • Loading branch information
tommylees112 committed Sep 13, 2024
1 parent 1a2330e commit 63df4b0
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
1 change: 0 additions & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,6 @@ jobs:
gcloud run deploy whatsappllm-service \
--image gcr.io/$GCP_PROJECT_ID/whatsappllm:${{ github.sha }} \
--region $GCP_REGION \
--update-env-vars PORT=8080 \
--platform managed \
--allow-unauthenticated
Expand Down
5 changes: 1 addition & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,8 @@ ENV APP_HOME /app
WORKDIR $APP_HOME
COPY . ./

# set the port to 8080
ENV PORT 8080

# create the environment and install the dependencies
RUN pip install --no-cache-dir -r requirements.txt

# As an example here we're running the web service with one worker on uvicorn.
CMD exec uvicorn src.main:app --host 0.0.0.0 --port ${PORT} --workers 1
CMD exec uvicorn src.main:app --host 0.0.0.0 --workers 1

0 comments on commit 63df4b0

Please sign in to comment.