端口修改为8080
This commit is contained in:
2
.env
2
.env
@@ -1,5 +1,5 @@
|
||||
# port 端口号
|
||||
VITE_PORT = 8888
|
||||
VITE_PORT = 8080
|
||||
|
||||
# open 运行 npm run dev 时自动打开浏览器
|
||||
VITE_OPEN = true
|
||||
|
||||
@@ -11,6 +11,6 @@ RUN npm install --registry=https://registry.npmmirror.com
|
||||
|
||||
COPY . .
|
||||
|
||||
EXPOSE 8888
|
||||
EXPOSE 8080
|
||||
|
||||
CMD ["npm", "run", "dev"]
|
||||
|
||||
Reference in New Issue
Block a user