build(docker): remove useless scripts in Dockerfile

This commit is contained in:
Zhenyu Sun 2025-02-22 11:54:59 +00:00
parent de37fcddba
commit be910d4c95

View File

@ -30,9 +30,9 @@ RUN pip install --no-cache-dir -r requirements.txt
COPY . ${CONTAINER_APP_ROOT}
RUN apt update
RUN apt install -y netcat
RUN ln -s /bin/bash /usr/bin/bash
#RUN apt update
#RUN apt install -y netcat
#RUN ln -s /bin/bash /usr/bin/bash
EXPOSE ${SERVICE_API_ACCESS_PORT}
CMD ["uvicorn", "webapi.main:app", "--reload", "--port=${SERVICE_API_ACCESS_PORT}", "--host=${SERVICE_API_ACCESS_HOST}"]