Skip to content

Commit

Permalink
enable syntax highlighting
Browse files Browse the repository at this point in the history
  • Loading branch information
vizv committed Jul 21, 2015
1 parent 17215e4 commit fc717d5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,15 @@

首先,选择官方的 `php:5.6-cli` 镜像作为项目的基础镜像。

```
```Dockerfile
FROM daocloud.io/php:5.6-cli
```

* 由于该示例代码较为简单,我们采用仅安装 PHP CLI 的 Docker 镜像来运行。

接着,将代码复制到目标目录。

```
```Dockerfile
COPY . /app
WORKDIR /app
CMD [ "php", "./hello.php" ]
Expand Down

0 comments on commit fc717d5

Please sign in to comment.