From d4468530fc2fc4edc43ec8d757791cb80ea926b9 Mon Sep 17 00:00:00 2001 From: vx-clutch Date: Mon, 22 Dec 2025 20:40:01 -0500 Subject: [PATCH] add Dockerfile --- docs.vxserver.dev/Dockerfile | 19 +++++++++++++++++++ fsd.vxserver.dev/Dockerfile | 16 ++++++++++++++++ 2 files changed, 35 insertions(+) create mode 100644 docs.vxserver.dev/Dockerfile create mode 100644 fsd.vxserver.dev/Dockerfile diff --git a/docs.vxserver.dev/Dockerfile b/docs.vxserver.dev/Dockerfile new file mode 100644 index 0000000..cf23626 --- /dev/null +++ b/docs.vxserver.dev/Dockerfile @@ -0,0 +1,19 @@ +FROM alpine:3.19 + +# 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 \ + && 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 ."] diff --git a/fsd.vxserver.dev/Dockerfile b/fsd.vxserver.dev/Dockerfile new file mode 100644 index 0000000..99c4f64 --- /dev/null +++ b/fsd.vxserver.dev/Dockerfile @@ -0,0 +1,16 @@ +FROM alpine:3.19 + +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 \ + && chmod +x /usr/local/bin/fes + +WORKDIR /app + +# Copy site (including archives) +COPY . /app + +EXPOSE 2100 + +CMD ["sh", "-c", "fes run -p 2100 ."]