调整fastAPI后端:docker增加zxing需要的jar包;优化代码内容;

This commit is contained in:
BBIT-Kai
2025-09-26 16:24:15 +08:00
parent 019a4365ed
commit a10fb27779
3 changed files with 14 additions and 8 deletions
+2
View File
@@ -34,6 +34,8 @@ ENV PATH="$JAVA_HOME/bin:$PATH"
# 复制项目代码
COPY app/ .
# 复制 pyzxing 的 jar 文件到默认路径
COPY docker/javase-3.4.1-SNAPSHOT-jar-with-dependencies.jar /root/.local/pyzxing/javase-3.4.1-SNAPSHOT-jar-with-dependencies.jar
EXPOSE 13011