Преглед на файлове

更新 'chx/Dockerfile'

chenghongxi преди 5 години
родител
ревизия
e9d506806f
променени са 1 файла, в които са добавени 5 реда и са изтрити 1 реда
  1. 5 1
      chx/Dockerfile

+ 5 - 1
chx/Dockerfile

@@ -1 +1,5 @@
-FROM centos
+FROM centos
+COPY hello_world.sh /usr/
+RUN chmod +x /usr/hello_world.sh
+WORKDIR /usr/
+CMD [ "sh", "hello_world.sh" ]