chore(docker): basic support added
This commit is contained in:
parent
caf6686d01
commit
cbb4207bab
1 changed files with 21 additions and 0 deletions
21
Dockerfile
Normal file
21
Dockerfile
Normal file
|
|
@ -0,0 +1,21 @@
|
||||||
|
FROM node:24
|
||||||
|
|
||||||
|
WORKDIR /app
|
||||||
|
|
||||||
|
RUN npm install pnpm --global
|
||||||
|
|
||||||
|
COPY pnpm-workspace.yaml ./
|
||||||
|
COPY package.json pnpm-lock.yaml ./
|
||||||
|
COPY packages/ ./packages/
|
||||||
|
COPY examples/ ./examples/
|
||||||
|
RUN mkdir -p website/public
|
||||||
|
COPY website/package.json ./website/
|
||||||
|
|
||||||
|
RUN pnpm install
|
||||||
|
|
||||||
|
|
||||||
|
COPY . .
|
||||||
|
|
||||||
|
EXPOSE 4321
|
||||||
|
|
||||||
|
CMD ["pnpm", "dev"]
|
||||||
Loading…
Add table
Add a link
Reference in a new issue