Skip to content

Commit

Permalink
set ASSET_URL for vite asset
Browse files Browse the repository at this point in the history
  • Loading branch information
POMXARK committed Oct 1, 2023
1 parent f2f6cf1 commit 8f542af
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ WORKDIR /var/www/html/public
RUN npm install

# build app for production with minification
RUN npm run build-https
RUN npm run build

#
CMD ["/usr/local/bin/start"]
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@
"private": true,
"scripts": {
"dev": "vite",
"build": "vite build",
"build-https": "vite build --https"
"build": "vite build"
},
"devDependencies": {
"axios": "^1.1.2",
Expand Down

0 comments on commit 8f542af

Please sign in to comment.