Update Dockerfile

This commit is contained in:
qiaofeng1227 2023-03-02 17:27:43 +08:00 committed by GitHub
parent 82472a7d6c
commit d8787f5654
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -8,7 +8,7 @@ WORKDIR /usr/src/app
COPY api ./api
COPY requirements.txt main.py ./
RUN pip install -r requirements.txt
RUN mkdir /hostpipe
RUN mkdir /data
# Starts our application
CMD ["uvicorn", "main:get_app", "--host", "0.0.0.0", "--port", "8000", "--log-level", "info"]