mirror of
https://github.com/KevinMidboe/hivemonitor.git
synced 2025-12-08 20:29:01 +00:00
Feat: UI Elements (#1)
* adds a bunch of ui components with mock data * build docker image with yarn.lock & yarn instead of npm * easier to add topics, build options smarter from ENV vars * fallback to index.html on all requests for SPA * updates w/ black/white support, better mobile styling * adds test components to home & dashboard pages * adds chart.js dependency * mqtt payload examples * lint * drone ci config * eslint fixes
This commit is contained in:
@@ -4,12 +4,14 @@ WORKDIR /app
|
||||
|
||||
COPY package*.json .
|
||||
COPY *config* .
|
||||
COPY .env .
|
||||
COPY yarn.lock .
|
||||
COPY src/ src
|
||||
COPY static/ static
|
||||
|
||||
RUN npm install
|
||||
RUN npm run build
|
||||
ARG PUBLIC_MQTT_BROKER_WS_URL
|
||||
|
||||
RUN yarn install
|
||||
RUN yarn run build
|
||||
|
||||
FROM nginx:alpine
|
||||
|
||||
|
||||
Reference in New Issue
Block a user