Skip to content

Commit d9633c6

Browse files
committed
Criando um container Docker para poder codar localmente
1 parent eddb7b4 commit d9633c6

File tree

3 files changed

+19
-0
lines changed

3 files changed

+19
-0
lines changed

.dockerignore

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
Gemfile
2+
Gemfile.lock

Dockerfile

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
FROM starefossen/github-pages
2+
3+
ENV HOME=/usr/src/app
4+
5+
WORKDIR ${HOME}
6+
7+
COPY . ${HOME}
8+
9+
EXPOSE 4000 80
10+
CMD jekyll serve -d /_site --watch --force_polling -H 0.0.0.0 -P 4000

README.md

+7
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,13 @@
22

33
Site do Grupo de Usuários PHP de Santa Catarina
44

5+
## Rodando localmente
6+
7+
```console
8+
docker build -t phpsc .
9+
docker run -it --name phpsc-site -p 4000:4000 --rm phpsc
10+
```
11+
512
## Contribuindo
613

714
Se tem interesse em nos ajudar, dê uma olhada [neste conteúdo](https://github.com/PHPSC/phpsc.github.io/wiki/Contribuindo).

0 commit comments

Comments
 (0)