|
@@ -28,7 +28,7 @@ COPY --from=builder /src/version /app/version
|
|
|
# COPY ./config/settings.yml /app/settings.yml
|
|
|
# COPY ./version /app/version
|
|
|
EXPOSE 8000
|
|
|
-RUN chmod +x /app/observe
|
|
|
+# RUN chmod +x /app/observe # 这条命令会将镜像大小翻倍,copy过来时就是可执行的,不需要多此一举
|
|
|
CMD ["/app/observe","server","-c", "/app/settings.yml"]
|
|
|
|
|
|
|