Compare commits
3 commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 215a608599 | |||
| 758c86cfec | |||
|
|
d54a8340a8 |
2 changed files with 26 additions and 0 deletions
3
Dockerfile
Normal file
3
Dockerfile
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
FROM nginx:alpine
|
||||
COPY public/ /usr/share/nginx/html/
|
||||
EXPOSE 80
|
||||
23
README.md
23
README.md
|
|
@ -1,5 +1,20 @@
|
|||
# lvl0 Website
|
||||
|
||||
## Production
|
||||
|
||||
This is the docker-compose file needed to host this webiste:
|
||||
|
||||
```
|
||||
services:
|
||||
website:
|
||||
image: codeberg.org/lvl0/website:latest
|
||||
container_name: lvl0-website
|
||||
ports:
|
||||
- 5002:80
|
||||
restart: unless-stopped
|
||||
networks: {}
|
||||
```
|
||||
|
||||
## Development
|
||||
|
||||
Run zola:
|
||||
|
|
@ -7,3 +22,11 @@ Run zola:
|
|||
```sh
|
||||
zola serve
|
||||
```
|
||||
|
||||
### Docker build
|
||||
|
||||
To build a docker image after changes, use
|
||||
|
||||
```sh
|
||||
sh .docker/build-docker.sh v0.1.0
|
||||
```
|
||||
|
|
|
|||
Loading…
Reference in a new issue