Compare commits

..

No commits in common. "8bab17d01eebb4a8a8613d2a8b8286e54911b1e2" and "55cd86a45fcaa6516446075d281ab2e3bdd08f3b" have entirely different histories.

4 changed files with 0 additions and 30 deletions

3
.gitignore vendored
View File

@ -17,9 +17,6 @@ npm-debug.log*
yarn-debug.log*
yarn-error.log*
pnpm-debug.log*
log/
/log
# 编辑器配置
.vscode/*

View File

@ -1,14 +0,0 @@
FROM registry.cn-shanghai.aliyuncs.com/devcon/node:18
ARG PACKAGE
ENV PACKAGE $PACKAGE
ADD . /app
WORKDIR /app
RUN mkdir -p /app/log
RUN cd /app && \
chmod +x start.sh && \
npm config set registry https://registry.npmmirror.com/ && \
npm config set "@batiao:registry" https://maven.batiao8.com/repository/npm-releases/ && \
npm install && \
npm run build
EXPOSE 9270
CMD [ "/app/start.sh" ]

View File

@ -1,4 +0,0 @@
cd /app
while [ true ];do
nohup npm run start
done

View File

@ -17,15 +17,6 @@ export default defineConfig({
'@': resolve(__dirname, 'src')
}
},
build: {
chunkSizeWarningLimit: 2000,
rollupOptions: {
onwarn(warning, warn) {
if (warning.code === 'UNRESOLVED_IMPORT' || warning.code === 'UNUSED_EXTERNAL_IMPORT') return;
warn(warning);
}
}
},
server: {
//通过电脑ip访问设置
host: '0.0.0.0',