Skip to content

Commit

Permalink
fix deploy build-https
Browse files Browse the repository at this point in the history
  • Loading branch information
POMXARK committed Oct 1, 2023
1 parent baa87d3 commit f2f6cf1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 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
RUN npm run build-https

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

0 comments on commit f2f6cf1

Please sign in to comment.