From 73ac756ade73b6665c94f726e9b7e17b29b4ea78 Mon Sep 17 00:00:00 2001 From: vx-clutch Date: Tue, 23 Dec 2025 21:51:01 -0500 Subject: [PATCH] update Dockerfiles --- docs.vxserver.dev/Dockerfile | 13 +++---------- fsd.vxserver.dev/Dockerfile | 10 +++------- 2 files changed, 6 insertions(+), 17 deletions(-) diff --git a/docs.vxserver.dev/Dockerfile b/docs.vxserver.dev/Dockerfile index cf23626..b6f3ea6 100644 --- a/docs.vxserver.dev/Dockerfile +++ b/docs.vxserver.dev/Dockerfile @@ -1,19 +1,12 @@ -FROM alpine:3.19 +FROM fedora:43 -# Install fes runtime and common tools -RUN apk add --no-cache bash curl - -# Install fes CLI (replace URL/version if needed) -RUN curl -fsSL https://github.com/vxserver/fes/releases/latest/download/fes-linux-amd64 -o /usr/local/bin/fes \ +RUN curl -fsSL https://git.vxserver.dev/fSD/fports/raw/branch/main/x86_64/fes -o /usr/local/bin/fes \ && chmod +x /usr/local/bin/fes WORKDIR /app -# Copy site COPY . /app -# Expose internal port EXPOSE 2101 -# Use fes to run site on port 3000 -CMD ["sh", "-c", "fes run -p 2101 ."] +CMD ["sh", "-c", "/usr/local/bin/fes -p 2101 run ."] diff --git a/fsd.vxserver.dev/Dockerfile b/fsd.vxserver.dev/Dockerfile index 99c4f64..f67fdb2 100644 --- a/fsd.vxserver.dev/Dockerfile +++ b/fsd.vxserver.dev/Dockerfile @@ -1,16 +1,12 @@ -FROM alpine:3.19 +FROM fedora:43 -RUN apk add --no-cache bash curl tar gzip build-base - -# Install fes CLI -RUN curl -fsSL https://github.com/vxserver/fes/releases/latest/download/fes-linux-amd64 -o /usr/local/bin/fes \ +RUN curl -fsSL https://git.vxserver.dev/fSD/fports/raw/branch/main/x86_64/fes -o /usr/local/bin/fes \ && chmod +x /usr/local/bin/fes WORKDIR /app -# Copy site (including archives) COPY . /app EXPOSE 2100 -CMD ["sh", "-c", "fes run -p 2100 ."] +CMD ["sh", "-c", "/usr/local/bin/fes -p 2100 run ."]