Added Docker

This commit is contained in:
Phil 2024-04-06 21:42:51 +02:00
parent 0d46eb01a0
commit 6cb251932f
3 changed files with 22 additions and 0 deletions

4
.dockerignore Normal file
View file

@ -0,0 +1,4 @@
LICENSE
README.md
DOCKERFILE
docker-compose.yml

14
.woodpecker.yml Normal file
View file

@ -0,0 +1,14 @@
steps:
- publish:
image: woodpeckerci/plugin-docker-buildx
settings:
platforms: linux/amd64
repo: git.hackmi.ch/hackmi.ch/home
registry: git.hackmi.ch
tags: latest
username:
from_secret: reg-user
password:
from_secret: reg-pass
when:
event: push

4
Dockerfile Normal file
View file

@ -0,0 +1,4 @@
FROM nginx:alpine
RUN rm -rf /usr/share/nginx/html
RUN mkdir -p /usr/share/nginx/html
COPY . /usr/share/nginx/html/