浏览代码

更新 'chx/Dockerfile'

chenghongxi 4 年之前
父节点
当前提交
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" ]