Merge branch 'test' into prod

This commit is contained in:
sophie committed 2026-05-19 19:29:39 +08:00
commit 092192b824
5 files changed
+21 -8

No files matched your search

+3 -2
View File
@@ -27,12 +27,15 @@ RUN --mount=type=cache,target=/var/cache/apt,sharing=locked \
libxcb1 \
libx11-6 \
libxext6 \
libnsl2 \
libreoffice-nogui \
fonts-noto-cjk \
curl \
ca-certificates \
gnupg \
unixodbc-dev \
&& (apt-get install -y --no-install-recommends libaio1 || apt-get install -y --no-install-recommends libaio1t64) \
&& if [ ! -e /usr/lib/$(dpkg-architecture -qDEB_HOST_MULTIARCH)/libaio.so.1 ] && [ -e /usr/lib/$(dpkg-architecture -qDEB_HOST_MULTIARCH)/libaio.so.1t64 ]; then ln -s /usr/lib/$(dpkg-architecture -qDEB_HOST_MULTIARCH)/libaio.so.1t64 /usr/lib/$(dpkg-architecture -qDEB_HOST_MULTIARCH)/libaio.so.1; fi \
&& install -d -m 0755 /etc/apt/keyrings \
&& curl -fsSL https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor -o /etc/apt/keyrings/microsoft-prod.gpg \
&& chmod a+r /etc/apt/keyrings/microsoft-prod.gpg \
@@ -61,8 +64,6 @@ RUN --mount=type=cache,target=/root/.cache/pip \
COPY backend/ .
RUN mkdir -p /app/docs
COPY docs/(表+字段).md /app/docs/(表+字段).md
ENV ORACLE_HOME=/app/oracle_client/instantclient_19_31
ENV LD_LIBRARY_PATH=/app/oracle_client/instantclient_19_31:/app/oracle_client:${LD_LIBRARY_PATH}
# Expose port 5000