-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
22e1661
commit c9d324b
Showing
5 changed files
with
682 additions
and
776 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,6 +3,5 @@ WORKDIR /app | |
COPY package.json . | ||
RUN yarn | ||
COPY . . | ||
RUN yarn build | ||
EXPOSE 3000 | ||
CMD yarn preview | ||
CMD yarn dev |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,12 @@ | ||
import { defineConfig } from "vite"; | ||
import react from "@vitejs/plugin-react"; | ||
import { defineConfig } from 'vite'; | ||
import react from '@vitejs/plugin-react'; | ||
import fs from 'fs'; | ||
|
||
// https://vitejs.dev/config/ | ||
/** @type {import('vite').UserConfig} */ | ||
export default defineConfig({ | ||
server: { | ||
https: { | ||
key: fs.readFileSync('C:/Users/Fadi_Dev/cert.key'), | ||
cert: fs.readFileSync('C:/Users/Fadi_Dev/cert.crt'), | ||
}, | ||
server: { | ||
port: 3000, | ||
host: true, | ||
}, | ||
|
||
plugins: [react()], | ||
}); |
Oops, something went wrong.