aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.build.yml16
-rw-r--r--Dockerfile4
2 files changed, 4 insertions, 16 deletions
diff --git a/.build.yml b/.build.yml
deleted file mode 100644
index 83316eb..0000000
--- a/.build.yml
+++ /dev/null
@@ -1,16 +0,0 @@
-image: alpine/latest
-packages:
- - rsync
-sources:
- - https://git.sr.ht/~boringcactus/pig.observer
-secrets:
- - b5cb9b2b-1461-4486-95e1-886451674a89
-tasks:
- - upload: |
- upload-to() {
- dest=$1
- shift
- rsync --rsh="ssh -o StrictHostKeyChecking=no" -rlt8hP --del $@ services@boringcactus.com:$dest
- }
- cd pig.observer
- upload-to /var/www/html/pig.observer/ dist/*
diff --git a/Dockerfile b/Dockerfile
new file mode 100644
index 0000000..d509531
--- /dev/null
+++ b/Dockerfile
@@ -0,0 +1,4 @@
+FROM nginx:alpine
+
+COPY nginx.conf /etc/nginx/conf.d/default.conf
+COPY dist /usr/share/nginx/html