feat(clients/vue): less verbose custom webserver setup

This commit is contained in:
Fernando Fernández 2024-11-06 22:39:13 +00:00 committed by GitHub
parent 852346b3a4
commit 920c986527
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -128,8 +128,7 @@ volumes:
- _𝘱𝘢𝘵𝘩_:/dest
# This makes the container do nothing and sleep forever,
# frontend will be copied to _𝘱𝘢𝘵𝘩_ and will be served by your web server
# /setup.sh applies
entrypoint: /bin/sh -c '/setup.sh && rm -rf /dest/* && cp -r /usr/share/nginx/html/* /dest && sleep infinity'
command: /bin/sh -c 'rm -rf /dest/* && cp -r . /dest && sleep infinity'
```