Compare commits

..

2 Commits

Author SHA1 Message Date
charles 6ba67b9f8e Add docker build 2026-05-19 22:32:56 -07:00
charles 353e844bf6 Add 05/01 presentation 2026-05-19 22:31:09 -07:00
4 changed files with 110 additions and 54 deletions
Binary file not shown.
+27
View File
@@ -0,0 +1,27 @@
FROM node:22-alpine AS builder
# Set working directory
WORKDIR /app
# Copy the book source files
COPY . /app/flug
# Set the working directory to the book folder
WORKDIR /app/flug
# Install honkit globally and build the book
RUN npm install -g vite && \
npm install && \
vite build
# Final Stage: Serve with Nginx
FROM nginx:alpine
# Copy the rendered HTML from the builder stage
COPY --from=builder /app/flug/dist /usr/share/nginx/html
# Expose port 80
EXPOSE 80
# Use the default Nginx configuration to serve static files
CMD ["nginx", "-g", "daemon off;"]
+20
View File
@@ -1,3 +1,23 @@
# Faux Linux User Group presentations
This repository contains the FLUG presentations.
## Serving localls
Run once to install Vite globally:
```bash
npm install -g vite
npm install
```
Run the development server:
```bash
vite serve
```
## Building docker image
To build the Docker image, run:
```bash
docker buildx build --platform linux/arm64 --push -t docker.tipsy.codes/flug:20260519 .
```
+17 -8
View File
@@ -1,12 +1,15 @@
<!DOCTYPE html>
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>FLUG Presentations</title>
<style>
body {
font-family: system-ui, -apple-system, sans-serif;
font-family:
system-ui,
-apple-system,
sans-serif;
max-width: 800px;
margin: 0 auto;
padding: 2rem;
@@ -41,8 +44,8 @@
margin-top: 0.5rem;
}
</style>
</head>
<body>
</head>
<body>
<h1>FLUG Presentations</h1>
<p>Welcome to the presentation repository for FLUG.</p>
@@ -52,6 +55,12 @@
<a href="/20260403-HelloLinux/index.html">Hello Linux</a>
<div class="date">April 3, 2026</div>
</li>
<li>
<a href="/20260501-HomeLab/FLUG_Presentation_Slides.pdf"
>Home Lab</a
>
<div class="date">May 1, 2026</div>
</li>
</ul>
</body>
</body>
</html>