Compare commits
2 Commits
3fc28bded1
...
6ba67b9f8e
| Author | SHA1 | Date | |
|---|---|---|---|
| 6ba67b9f8e | |||
| 353e844bf6 |
Binary file not shown.
+27
@@ -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;"]
|
||||
@@ -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
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user