build(docker): remove additional scripts

This commit is contained in:
Zhenyu Sun 2025-02-22 11:40:23 +00:00
parent e13a05cb43
commit de37fcddba

View File

@ -34,15 +34,15 @@ RUN pip install --no-cache-dir -r requirements.txt
COPY . ${CONTAINER_APP_ROOT}
# Install tools and keyring updates
RUN apt-get update && apt-get install -y --no-install-recommends \
gnupg wget && \
apt-get install -y debian-keyring debian-archive-keyring && \
rm -rf /var/lib/apt/lists/*
#RUN apt-get update && apt-get install -y --no-install-recommends \
# gnupg wget && \
# apt-get install -y debian-keyring debian-archive-keyring && \
# rm -rf /var/lib/apt/lists/*
# Install additional tools and create symbolic links
RUN apt-get update && apt-get install -y netcat && \
ln -s /bin/bash /usr/bin/bash && \
rm -rf /var/lib/apt/lists/*
#RUN apt-get update && apt-get install -y netcat && \
# ln -s /bin/bash /usr/bin/bash && \
# rm -rf /var/lib/apt/lists/*
EXPOSE ${SERVICE_API_ACCESS_PORT}
CMD ["uvicorn", "webapi.main:app", "--reload", "--port=${SERVICE_API_ACCESS_PORT}", "--host=${SERVICE_API_ACCESS_HOST}"]