containerize the project for deployment
No files matched your search
@@ -0,0 +1,3 @@
|
||||
FROM busybox:latest
|
||||
COPY app/ /site
|
||||
CMD ["sh", "-c", "cp -rf /site/* /out/"]
|
||||
|
Before Width: | Height: | Size: 136 KiB After Width: | Height: | Size: 136 KiB |
|
Before Width: | Height: | Size: 2.4 KiB After Width: | Height: | Size: 2.4 KiB |
|
Before Width: | Height: | Size: 3.3 KiB After Width: | Height: | Size: 3.3 KiB |
|
Before Width: | Height: | Size: 69 KiB After Width: | Height: | Size: 69 KiB |
@@ -0,0 +1,7 @@
|
||||
version: '3.8'
|
||||
|
||||
services:
|
||||
deploy-site:
|
||||
build: .
|
||||
volumes:
|
||||
- /srv/nginx/sites/linktree:/out
|
||||