Skip to content

Commit

Permalink
updated rrebase
Browse files Browse the repository at this point in the history
  • Loading branch information
anuragsarkar97 committed Jul 30, 2021
1 parent b04d5f9 commit 6331d97
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions api/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,18 @@ FROM tiangolo/uvicorn-gunicorn-fastapi:python3.7

EXPOSE 5000

RUN curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip"
RUN unzip awscliv2.zip
RUN ./aws/install
RUN aws --version

RUN curl -sL https://aka.ms/InstallAzureCLIDeb | bash
RUN az version

COPY . /app

WORKDIR /app

RUN pip install -r requirements.txt

RUN pip install websockets

CMD ["uvicorn" ,"application:application", "--host", "0.0.0.0", "--port" ,"5000"]

0 comments on commit 6331d97

Please sign in to comment.