diff --git a/Dockerfile b/Dockerfile index bb51173a1a5dfbeb996b8ebc05e7f7af278a01d0..ea5b21ca6eb9e0ae1158def8526bbb66feb34e9c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,3 +1,4 @@ FROM centos:7 ADD phantomjs /usr/etc/ -CMD ["yum install fontconfig -y","yum install bitmap-fonts bitmap-fonts-cjk -y","chmod 777 /usr/etc/bin/phantomjs"] \ No newline at end of file + +RUN yum install -y fontconfig yum -y install bitmap-fonts bitmap-fonts-cjk chmod 777 /usr/etc/bin/phantomjs \ No newline at end of file