Skip to content

Commit 2b47f66

Browse files
author
Thomas Philipona
committed
Updated Dockerfile
1 parent 37312eb commit 2b47f66

File tree

2 files changed

+21
-1
lines changed

2 files changed

+21
-1
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
FROM openshift/php:5.6
22

3-
ADD app /opt/app-root
3+
ADD app /opt/app-root/src
44

55
CMD $STI_SCRIPTS_PATH/run

README.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# PHP Docker Build Helloworld Example
2+
3+
This is an example php application, which can be deployed to APPUiO using the following commands
4+
5+
## How to deploy
6+
7+
### CLI / oc Client
8+
9+
#### Create New OpenShift Project
10+
```
11+
$ oc new-project example-php-dockerfile-helloworld
12+
```
13+
14+
#### Create Application and expose Service
15+
```
16+
$ oc new-app https://github.com/appuio/example-php-docker-helloworld.git --strategy=docker --name=appuio-php-docker-example
17+
18+
$ oc expose service appuio-php-docker-example
19+
```
20+

0 commit comments

Comments
 (0)