Commit 38c6478
Eric Bower
·
2023-06-19 13:32:12 -0400 EDT
parent 87557bd
temp docker based deployment
2 files changed,
+6,
-2
+4,
-0
| ... | ... | @@ -2,6 +2,10 @@ FROM golang:1.20 as builder | |
| 2 | 2 | COPY . /app | |
| 3 | 3 | WORKDIR /app | |
| 4 | 4 | RUN go build -o pgit ./main.go | |
| 5 | + | ||
| 6 | + | RUN git clone https://github.com/picosh/pico.git | |
| 7 | + | RUN git clone https://github.com/picosh/ops.git | |
| 8 | + | ||
| 5 | 9 | RUN ./pgit | |
| 6 | 10 | ||
| 7 | 11 | FROM nginx:latest |
+2,
-2