diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..852f75d --- /dev/null +++ b/Dockerfile @@ -0,0 +1,3 @@ +FROM busybox:latest +COPY app/ /site +CMD ["sh", "-c", "cp -rf /site/* /out/"] \ No newline at end of file diff --git a/assets/css/stars.css b/app/assets/css/stars.css similarity index 100% rename from assets/css/stars.css rename to app/assets/css/stars.css diff --git a/assets/css/style.css b/app/assets/css/style.css similarity index 100% rename from assets/css/style.css rename to app/assets/css/style.css diff --git a/assets/images/background.jpg b/app/assets/images/background.jpg similarity index 100% rename from assets/images/background.jpg rename to app/assets/images/background.jpg diff --git a/assets/images/gitea.png b/app/assets/images/gitea.png similarity index 100% rename from assets/images/gitea.png rename to app/assets/images/gitea.png diff --git a/assets/images/github.png b/app/assets/images/github.png similarity index 100% rename from assets/images/github.png rename to app/assets/images/github.png diff --git a/assets/images/logo.svg b/app/assets/images/logo.svg similarity index 100% rename from assets/images/logo.svg rename to app/assets/images/logo.svg diff --git a/index.html b/app/index.html similarity index 100% rename from index.html rename to app/index.html diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 0000000..44da31d --- /dev/null +++ b/docker-compose.yml @@ -0,0 +1,7 @@ +version: '3.8' + +services: + deploy-site: + build: . + volumes: + - /srv/nginx/sites/linktree:/out \ No newline at end of file