分离静态文件

This commit is contained in:
2023-02-03 03:16:27 +08:00
parent e032f86503
commit a77942621e
4 changed files with 5 additions and 13 deletions

View File

@@ -10,6 +10,7 @@ COPY "build/yggdrasil-${TARGETOS}-${TARGETARCH}" /app/yggdrasil
EXPOSE 8080
VOLUME /app/data
COPY assets /app/data/assets/
WORKDIR /app/data
ENTRYPOINT ["/app/yggdrasil"]