diff --git a/Dockerfile b/Dockerfile index 7537b90..814af9b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -32,4 +32,4 @@ COPY deployment/nginx.conf /etc/nginx/conf.d EXPOSE 80 # 启动服务 -CMD sh -c "ushare & nginx -g 'daemon off;'" \ No newline at end of file +CMD ["sh", "-c", "ushare & nginx -g 'daemon off;'"] \ No newline at end of file