Compare commits
2 Commits
| 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
|
# Faux Linux User Group presentations
|
||||||
|
|
||||||
This repository contains the FLUG 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">
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
<meta charset="UTF-8">
|
<meta charset="UTF-8" />
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||||
<title>FLUG Presentations</title>
|
<title>FLUG Presentations</title>
|
||||||
<style>
|
<style>
|
||||||
body {
|
body {
|
||||||
font-family: system-ui, -apple-system, sans-serif;
|
font-family:
|
||||||
max-width: 800px;
|
system-ui,
|
||||||
margin: 0 auto;
|
-apple-system,
|
||||||
padding: 2rem;
|
sans-serif;
|
||||||
line-height: 1.5;
|
max-width: 800px;
|
||||||
}
|
margin: 0 auto;
|
||||||
h1 {
|
padding: 2rem;
|
||||||
border-bottom: 2px solid #eaecef;
|
line-height: 1.5;
|
||||||
padding-bottom: 0.3em;
|
}
|
||||||
}
|
h1 {
|
||||||
ul {
|
border-bottom: 2px solid #eaecef;
|
||||||
list-style-type: none;
|
padding-bottom: 0.3em;
|
||||||
padding: 0;
|
}
|
||||||
}
|
ul {
|
||||||
li {
|
list-style-type: none;
|
||||||
margin-bottom: 1rem;
|
padding: 0;
|
||||||
padding: 1rem;
|
}
|
||||||
border: 1px solid #eaecef;
|
li {
|
||||||
border-radius: 6px;
|
margin-bottom: 1rem;
|
||||||
}
|
padding: 1rem;
|
||||||
a {
|
border: 1px solid #eaecef;
|
||||||
text-decoration: none;
|
border-radius: 6px;
|
||||||
color: #0366d6;
|
}
|
||||||
font-weight: bold;
|
a {
|
||||||
font-size: 1.2rem;
|
text-decoration: none;
|
||||||
}
|
color: #0366d6;
|
||||||
a:hover {
|
font-weight: bold;
|
||||||
text-decoration: underline;
|
font-size: 1.2rem;
|
||||||
}
|
}
|
||||||
.date {
|
a:hover {
|
||||||
color: #586069;
|
text-decoration: underline;
|
||||||
font-size: 0.9rem;
|
}
|
||||||
margin-top: 0.5rem;
|
.date {
|
||||||
}
|
color: #586069;
|
||||||
</style>
|
font-size: 0.9rem;
|
||||||
</head>
|
margin-top: 0.5rem;
|
||||||
<body>
|
}
|
||||||
<h1>FLUG Presentations</h1>
|
</style>
|
||||||
<p>Welcome to the presentation repository for FLUG.</p>
|
</head>
|
||||||
|
<body>
|
||||||
|
<h1>FLUG Presentations</h1>
|
||||||
|
<p>Welcome to the presentation repository for FLUG.</p>
|
||||||
|
|
||||||
<h2>Presentations</h2>
|
<h2>Presentations</h2>
|
||||||
<ul>
|
<ul>
|
||||||
<li>
|
<li>
|
||||||
<a href="/20260403-HelloLinux/index.html">Hello Linux</a>
|
<a href="/20260403-HelloLinux/index.html">Hello Linux</a>
|
||||||
<div class="date">April 3, 2026</div>
|
<div class="date">April 3, 2026</div>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
<li>
|
||||||
</body>
|
<a href="/20260501-HomeLab/FLUG_Presentation_Slides.pdf"
|
||||||
|
>Home Lab</a
|
||||||
|
>
|
||||||
|
<div class="date">May 1, 2026</div>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|||||||
Reference in New Issue
Block a user