Skip to content

Commit

Permalink
chore: fixing build process
Browse files Browse the repository at this point in the history
Signed-off-by: Donnie Adams <donnie@thedadams.com>
  • Loading branch information
thedadams committed Feb 20, 2025
1 parent d81315a commit d72137d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ RUN npm install

COPY . .

RUN npm run build && cp dist/home.html dist/index.html
RUN npm run build

FROM nginx:alpine

Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
"version": "0.0.0",
"scripts": {
"dev": "vite",
"build": "vue-tsc --noEmit && tailwindcss -o ./src/assets/mystyles.css --minify && vite build && cp dist/home.html dist/index.html",
"build-css": "tailwindcss -o ./src/assets/mystyles.css --minify",
"build": "vue-tsc --noEmit && npx tailwindcss -o ./src/assets/mystyles.css --minify && vite build && cp dist/home.html dist/index.html",
"build-css": "npx tailwindcss -o ./src/assets/mystyles.css --minify",
"preview": "vite preview --port 5050",
"test:unit": "vitest --environment jsdom",
"test:e2e": "start-server-and-test preview http://127.0.0.1:5050/ 'cypress open'",
Expand Down

0 comments on commit d72137d

Please sign in to comment.