mirror of https://github.com/balkian/gists
Add 'repos/c231172db37d5393f722/' from commit '0026073a1b8908b7ad8991610d2530284b331c4a'
git-subtree-dir: repos/c231172db37d5393f722 git-subtree-mainline:masterd6baea1a6c
git-subtree-split:0026073a1b
commit
8b71667012
@ -0,0 +1,4 @@
|
||||
FROM nginx
|
||||
|
||||
EXPOSE 80
|
||||
ADD . /usr/share/nginx/html/
|
@ -0,0 +1,20 @@
|
||||
* Add the Dockerfile to the root of your static files
|
||||
* Init the git repository and/or add the remote of your dokku app:
|
||||
```
|
||||
git remote add dokku git@yourdomain.com:appname
|
||||
```
|
||||
* Commit all your changes and the repository
|
||||
```
|
||||
git commit -am Pushing to dokku
|
||||
git push dokku master
|
||||
```
|
||||
* Optionally, add any extra domains with the domains plugin:
|
||||
```
|
||||
ssh dokku@yourdomain.com domains:add appname domain.com
|
||||
```
|
||||
|
||||
Find all the available commands and help:
|
||||
```
|
||||
ssh dokku@yourdomain.com
|
||||
```
|
||||
|
Loading…
Reference in New Issue