From 56c73885c4f0b4afe910762e81bfa5b5124d10dc Mon Sep 17 00:00:00 2001 From: syui Date: Sun, 3 Nov 2024 08:17:06 +0900 Subject: [PATCH] fix --- github/frontpage/packages/atproto-browser/Dockerfile | 10 ++++++++++ github/frontpage/packages/atproto-browser/compose.yml | 8 ++++++++ 2 files changed, 18 insertions(+) create mode 100644 github/frontpage/packages/atproto-browser/Dockerfile create mode 100644 github/frontpage/packages/atproto-browser/compose.yml diff --git a/github/frontpage/packages/atproto-browser/Dockerfile b/github/frontpage/packages/atproto-browser/Dockerfile new file mode 100644 index 0000000..e029727 --- /dev/null +++ b/github/frontpage/packages/atproto-browser/Dockerfile @@ -0,0 +1,10 @@ +FROM node:20 + +RUN npm install -g pnpm +WORKDIR /app +RUN git clone https://github.com/likeandscribe/frontpage +WORKDIR /app/frontpage/packages/atproto-browser +RUN pnpm i +RUN pnpm build + +CMD [ "pnpm", "start"] diff --git a/github/frontpage/packages/atproto-browser/compose.yml b/github/frontpage/packages/atproto-browser/compose.yml new file mode 100644 index 0000000..57a2d59 --- /dev/null +++ b/github/frontpage/packages/atproto-browser/compose.yml @@ -0,0 +1,8 @@ +services: + atbrowser: + build: + context: . + ports: + - "3000:3000" + environment: + - WATCHPACK_POLLING=true