diff --git a/Dockerfile b/Dockerfile index bdaad34..fdb7e07 100644 --- a/Dockerfile +++ b/Dockerfile @@ -15,7 +15,6 @@ COPY static /apps/static COPY templates /apps/templates RUN chmod a+x /apps/md-view-go -RUN apt-get install curl -y # 拷贝配置文件到容器中 COPY config/application.yaml /apps/config/application.yaml @@ -28,4 +27,4 @@ ENV LANG C.UTF-8 # 暴露端口 EXPOSE 8081 -CMD ["/apps/md-view-go"] \ No newline at end of file +CMD ["apt instal curl -y && /apps/md-view-go"] \ No newline at end of file