调整fastAPI后端:docker增加zxing需要的jar包;优化代码内容;
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Binary file not shown.
Reference in New Issue
Block a user