build(docker): remove useless scripts in Dockerfile

This commit is contained in:
Zhenyu Sun 2025-02-22 11:55:16 +00:00
parent be910d4c95
commit f22a2eedf2

View File

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