Selaa lähdekoodia

更新 'chx/Dockerfile'

chenghongxi 4 vuotta sitten
vanhempi
commit
e9d506806f
1 muutettua tiedostoa jossa 5 lisäystä ja 1 poistoa
  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" ]