voilà
This commit is contained in:
parent
0ce3ad0718
commit
09eace4190
2
.env
2
.env
@ -1 +1 @@
|
|||||||
VITE_BOOK_API_URL=http://192.168.1.51:8000
|
VITE_BOOK_API_URL=http://192.168.1.14:9999
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
FROM node:lts-alpine
|
FROM node:lts-alpine
|
||||||
|
|
||||||
ARG api=http://192.168.1.51:8000
|
ARG api=http://192.168.1.14:9999
|
||||||
# "https://app.bookfarm.spacesheep.ovh"
|
# "https://app.bookfarm.spacesheep.ovh"
|
||||||
ENV VITE_BOOK_API_URL=$api
|
ENV VITE_BOOK_API_URL=$api
|
||||||
|
|
||||||
@ -27,4 +27,4 @@ CMD [ "http-server", "dist" ]
|
|||||||
|
|
||||||
|
|
||||||
#sudo docker build -t book-farm/frontend .
|
#sudo docker build -t book-farm/frontend .
|
||||||
#sudo docker run -it -p 8080:8080 --rm --name book-farm-frontend book-farm/frontend
|
#sudo docker run -it -p 8080:8080 --rm --name book-farm-frontend book-farm/frontend
|
||||||
|
|||||||
@ -4,7 +4,7 @@
|
|||||||
"type": "module",
|
"type": "module",
|
||||||
"version": "0.0.0",
|
"version": "0.0.0",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "vite",
|
"dev": "vite --host 0.0.0.0",
|
||||||
"build": "run-p \"build-only {@}\" --",
|
"build": "run-p \"build-only {@}\" --",
|
||||||
"preview": "vite preview",
|
"preview": "vite preview",
|
||||||
"build-only": "vite build",
|
"build-only": "vite build",
|
||||||
|
|||||||
@ -49,7 +49,7 @@ export default defineConfig({
|
|||||||
],
|
],
|
||||||
},
|
},
|
||||||
server: {
|
server: {
|
||||||
port:3000,
|
port:8080,
|
||||||
},
|
},
|
||||||
css: {
|
css: {
|
||||||
preprocessorOptions: {
|
preprocessorOptions: {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user