Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 2 additions & 18 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -21,16 +21,8 @@ COPY ./index.html ./
COPY ./index.js ./
COPY ./vite.config.js ./
COPY ./src ./src
COPY ./public ./public
COPY ./runtime-params.json ./
COPY ./resource-graph.js ./
COPY ./network-graph.js ./
COPY ./dashboard.html ./
COPY ./dashboard.js ./
COPY ./favicon.svg ./
COPY ./redoc-swagger.html ./
COPY ./swagger.html ./
COPY ./scalar.html ./
COPY ./img ./img

# Build with Vite
RUN npm run build
Expand All @@ -54,16 +46,8 @@ COPY --from=builder /app/index.html ./
COPY --from=builder /app/index.js ./
COPY --from=builder /app/vite.config.js ./
COPY --from=builder /app/src ./src
COPY --from=builder /app/public ./public
COPY --from=builder /app/runtime-params.json ./
COPY --from=builder /app/resource-graph.js ./
COPY --from=builder /app/network-graph.js ./
COPY --from=builder /app/dashboard.html ./
COPY --from=builder /app/dashboard.js ./
COPY --from=builder /app/favicon.svg ./
COPY --from=builder /app/redoc-swagger.html ./
COPY --from=builder /app/swagger.html ./
COPY --from=builder /app/scalar.html ./
COPY --from=builder /app/img ./img

# Copy dependencies and configs
COPY --from=builder /app/node_modules ./node_modules
Expand Down
22 changes: 0 additions & 22 deletions index-backup.html

This file was deleted.

2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1241,7 +1241,7 @@
</div>


<script type="module" src="./index.js"></script>
<script type="module" src="./src/index.js"></script>
<script type="text/javascript">
// Cache current host to avoid repeated access
var currentHost = window.location.hostname;
Expand Down
Loading
Loading