更新dockerfile

This commit is contained in:
Cold
2025-12-17 10:37:37 +08:00
parent 7171e2712c
commit ec95c7d872
4 changed files with 16 additions and 3 deletions

13
Dockerfile Normal file
View File

@@ -0,0 +1,13 @@
FROM node:18-alpine
WORKDIR /app
COPY package*.json ./
RUN npm install --registry=https://registry.npmmirror.com
COPY . .
EXPOSE 5173
CMD ["npm", "run", "dev", "--", "--host", "0.0.0.0"]