Commit f577aaae authored by Ai-Sasit's avatar Ai-Sasit

update docker

parent fcd31ef1
...@@ -14,4 +14,4 @@ RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt ...@@ -14,4 +14,4 @@ RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
COPY ./server /code/server COPY ./server /code/server
# #
CMD ["uvicorn", "server.core:app", "--host", "0.0.0.0", "--port", "9000"] CMD ["uvicorn", "server.core:app", "--host", "0.0.0.0", "--port", "80"]
...@@ -5,7 +5,7 @@ services: ...@@ -5,7 +5,7 @@ services:
container_name: easybistro-api container_name: easybistro-api
build: . build: .
ports: ports:
- "9000:9000" - "80:80"
depends_on: depends_on:
- mongodb - mongodb
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment