mirror of
https://github.com/balkian/gists.git
synced 2024-11-22 01:32:29 +00:00
Add 'repos/c231172db37d5393f722/' from commit '0026073a1b8908b7ad8991610d2530284b331c4a'
git-subtree-dir: repos/c231172db37d5393f722 git-subtree-mainline:d6baea1a6c
git-subtree-split:0026073a1b
This commit is contained in:
commit
8b71667012
4
repos/c231172db37d5393f722/Dockerfile
Normal file
4
repos/c231172db37d5393f722/Dockerfile
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
FROM nginx
|
||||||
|
|
||||||
|
EXPOSE 80
|
||||||
|
ADD . /usr/share/nginx/html/
|
20
repos/c231172db37d5393f722/README.md
Normal file
20
repos/c231172db37d5393f722/README.md
Normal file
@ -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
Block a user