From 72ab4631e4b2b9aaa9619e25fd0490f00bafc853 Mon Sep 17 00:00:00 2001 From: wass Date: Sun, 14 Apr 2024 09:21:56 +0200 Subject: [PATCH] added dockerfile --- Dockerfile | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 Dockerfile diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..8c51924 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,16 @@ +FROM node:20 +WORKDIR /workspace + +RUN npm install -g pnpm +RUN apt-get update && apt-get install -y git +RUN git clone https://github.com/MicroWebStacks/astro-big-doc.git /astro-big-doc +WORKDIR /astro-big-doc + +RUN pnpm install + +EXPOSE 3001 + +RUN pnpm astro telemetry disable + +ENTRYPOINT ["pnpm", "run"] +CMD ["build"]