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 .
```
+63 -54
View File
@@ -1,57 +1,66 @@
<!DOCTYPE html>
<!doctype html>
<html lang="en">
<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;
max-width: 800px;
margin: 0 auto;
padding: 2rem;
line-height: 1.5;
}
h1 {
border-bottom: 2px solid #eaecef;
padding-bottom: 0.3em;
}
ul {
list-style-type: none;
padding: 0;
}
li {
margin-bottom: 1rem;
padding: 1rem;
border: 1px solid #eaecef;
border-radius: 6px;
}
a {
text-decoration: none;
color: #0366d6;
font-weight: bold;
font-size: 1.2rem;
}
a:hover {
text-decoration: underline;
}
.date {
color: #586069;
font-size: 0.9rem;
margin-top: 0.5rem;
}
</style>
</head>
<body>
<h1>FLUG Presentations</h1>
<p>Welcome to the presentation repository for FLUG.</p>
<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;
max-width: 800px;
margin: 0 auto;
padding: 2rem;
line-height: 1.5;
}
h1 {
border-bottom: 2px solid #eaecef;
padding-bottom: 0.3em;
}
ul {
list-style-type: none;
padding: 0;
}
li {
margin-bottom: 1rem;
padding: 1rem;
border: 1px solid #eaecef;
border-radius: 6px;
}
a {
text-decoration: none;
color: #0366d6;
font-weight: bold;
font-size: 1.2rem;
}
a:hover {
text-decoration: underline;
}
.date {
color: #586069;
font-size: 0.9rem;
margin-top: 0.5rem;
}
</style>
</head>
<body>
<h1>FLUG Presentations</h1>
<p>Welcome to the presentation repository for FLUG.</p>
<h2>Presentations</h2>
<ul>
<li>
<a href="/20260403-HelloLinux/index.html">Hello Linux</a>
<div class="date">April 3, 2026</div>
</li>
</ul>
</body>
<h2>Presentations</h2>
<ul>
<li>
<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>
</html>