Update Containerfile to use plain Nginx
Only add required files to container Fix HTML title
This commit is contained in:
@@ -0,0 +1,2 @@
|
|||||||
|
dist/build.tar
|
||||||
|
dist/output
|
||||||
+6
-1
@@ -1,4 +1,9 @@
|
|||||||
FROM registry.access.redhat.com/ubi9/nginx-122:1-45
|
FROM nginx:1.27.2-alpine
|
||||||
|
|
||||||
|
RUN rm -r /usr/share/nginx/html \
|
||||||
|
&& mkdir /usr/share/nginx/html
|
||||||
|
|
||||||
|
WORKDIR /usr/share/nginx/html
|
||||||
|
|
||||||
ADD dist .
|
ADD dist .
|
||||||
|
|
||||||
|
|||||||
@@ -20,14 +20,14 @@ Official [Meshtastic](https://meshtastic.org) web interface, that can be hosted
|
|||||||
## Self-host
|
## Self-host
|
||||||
|
|
||||||
The client can be self hosted using the precompiled container images with an OCI compatible runtime such as [Docker](https://www.docker.com/) or [Podman](https://podman.io/).
|
The client can be self hosted using the precompiled container images with an OCI compatible runtime such as [Docker](https://www.docker.com/) or [Podman](https://podman.io/).
|
||||||
The base image used is [UBI9 Nginx 1.22](https://catalog.redhat.com/software/containers/ubi9/nginx-122/63f7653b9b0ca19f84f7e9a1)
|
The base image used is [Nginx 1.27](https://hub.docker.com/_/nginx)
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
# With Docker
|
# With Docker
|
||||||
docker run -d -p 8080:8080 -p 8443:8443 --restart always --name Meshtastic-Web ghcr.io/meshtastic/web
|
docker run -d -p 8080:80 --restart always --name Meshtastic-Web ghcr.io/meshtastic/web
|
||||||
|
|
||||||
#With Podman
|
#With Podman
|
||||||
podman run -d -p 8080:8080 -p 8443:8443 --restart always --name Meshtastic-Web ghcr.io/meshtastic/web
|
podman run -d -p 8080:80 --restart always --name Meshtastic-Web ghcr.io/meshtastic/web
|
||||||
```
|
```
|
||||||
|
|
||||||
## Development & Building
|
## Development & Building
|
||||||
|
|||||||
@@ -24,4 +24,7 @@ export default defineConfig({
|
|||||||
"@layouts": "./src/layouts",
|
"@layouts": "./src/layouts",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
html: {
|
||||||
|
title: 'Meshtastic Web',
|
||||||
|
},
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user