Compare commits
3 Commits
5e3419c3c3
...
7e654ab874
Author | SHA1 | Date | |
---|---|---|---|
7e654ab874 | |||
a806f448a2 | |||
d0cd151ab8 |
33
Dockerfile
Normal file
33
Dockerfile
Normal file
@@ -0,0 +1,33 @@
|
|||||||
|
# Stage 1: Build
|
||||||
|
FROM node:20-alpine AS builder
|
||||||
|
|
||||||
|
# Set working directory
|
||||||
|
WORKDIR /app
|
||||||
|
|
||||||
|
# Copy package.json and package-lock.json (or yarn.lock)
|
||||||
|
COPY package*.json ./
|
||||||
|
|
||||||
|
# Install dependencies
|
||||||
|
RUN npm ci
|
||||||
|
|
||||||
|
# Copy the rest of the app
|
||||||
|
COPY . .
|
||||||
|
|
||||||
|
# Build the app (React/Next/etc.)
|
||||||
|
RUN npm run build
|
||||||
|
|
||||||
|
# Stage 2: Production image
|
||||||
|
FROM node:20-alpine
|
||||||
|
|
||||||
|
WORKDIR /app
|
||||||
|
|
||||||
|
# Copy only build output and dependencies
|
||||||
|
COPY --from=builder /app/package*.json ./
|
||||||
|
COPY --from=builder /app/node_modules ./node_modules
|
||||||
|
COPY --from=builder /app/build ./build
|
||||||
|
|
||||||
|
# Expose port
|
||||||
|
EXPOSE 3000
|
||||||
|
|
||||||
|
# Default command
|
||||||
|
CMD ["npm", "start"]
|
@@ -40,11 +40,11 @@ const services = {
|
|||||||
url: "http://radarr.aetoskia.com",
|
url: "http://radarr.aetoskia.com",
|
||||||
desc: "Movie management",
|
desc: "Movie management",
|
||||||
},
|
},
|
||||||
{
|
// {
|
||||||
name: "Prowlarr",
|
// name: "Prowlarr",
|
||||||
url: "http://prowlarr.aetoskia.com",
|
// url: "http://prowlarr.aetoskia.com",
|
||||||
desc: "Indexer management",
|
// desc: "Indexer management",
|
||||||
},
|
// },
|
||||||
{
|
{
|
||||||
name: "qBittorrent",
|
name: "qBittorrent",
|
||||||
url: "http://qbit.aetoskia.com",
|
url: "http://qbit.aetoskia.com",
|
||||||
@@ -68,7 +68,7 @@ export default function Home() {
|
|||||||
<Container maxWidth="lg">
|
<Container maxWidth="lg">
|
||||||
<Box
|
<Box
|
||||||
sx={{
|
sx={{
|
||||||
minHeight: "150vh",
|
minHeight: "120vh",
|
||||||
backgroundImage: "url('/extended_sigil.png')",
|
backgroundImage: "url('/extended_sigil.png')",
|
||||||
backgroundSize: "cover",
|
backgroundSize: "cover",
|
||||||
backgroundRepeat: "no-repeat",
|
backgroundRepeat: "no-repeat",
|
||||||
@@ -83,7 +83,7 @@ export default function Home() {
|
|||||||
{/* Bottom dashboard: only 50% height of viewport */}
|
{/* Bottom dashboard: only 50% height of viewport */}
|
||||||
<Box
|
<Box
|
||||||
sx={{
|
sx={{
|
||||||
height: "80vh", // 50% of viewport height
|
height: "60vh", // 50% of viewport height
|
||||||
overflowY: "auto", // scroll if content overflows
|
overflowY: "auto", // scroll if content overflows
|
||||||
p: 2,
|
p: 2,
|
||||||
}}
|
}}
|
||||||
|
BIN
public/extended_sigil.png
Normal file
BIN
public/extended_sigil.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.7 MiB |
BIN
public/no_sigil.png
Normal file
BIN
public/no_sigil.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.2 MiB |
Reference in New Issue
Block a user