ai/at
1
0
This commit is contained in:
2024-10-18 22:49:50 +09:00
parent bce11adb82
commit 5acaa7aeec
64 changed files with 2608 additions and 0 deletions

View File

@ -0,0 +1,11 @@
FROM node:20
RUN npm install -g pnpm
WORKDIR /app
RUN git clone https://github.com/notjuliet/pdsls
WORKDIR /app/pdsls
COPY ./vite.config.ts ./vite.config.ts
RUN pnpm i
RUN pnpm build
CMD [ "pnpm", "start"]

View File

@ -0,0 +1,6 @@
services:
atbrowser:
build:
context: .
ports:
- 3000:13213

View File

@ -0,0 +1,17 @@
import { defineConfig } from "vite";
import solidPlugin from "vite-plugin-solid";
import UnoCSS from "unocss/vite";
const SERVER_HOST = "0.0.0.0";
const SERVER_PORT = 13213;
export default defineConfig({
plugins: [UnoCSS(), solidPlugin()],
server: {
host: SERVER_HOST,
port: SERVER_PORT,
},
build: {
target: "esnext",
},
});