-
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.
Switch to typescript and add Dark Mode
- Loading branch information
1 parent
d432dc1
commit 017f783
Showing
28 changed files
with
1,613 additions
and
944 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 |
---|---|---|
@@ -1,3 +1,3 @@ | ||
{ | ||
"extends": "next/core-web-vitals" | ||
"extends": ["next/core-web-vitals", "next/typescript"] | ||
} |
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,22 +1,26 @@ | ||
FROM node | ||
|
||
WORKDIR /app | ||
WORKDIR /ground-server | ||
|
||
# Copy the application code | ||
COPY ./ground-server . | ||
COPY ./protos /protos | ||
COPY ./ground-server/package.json . | ||
COPY ./ground-server/package-lock.json . | ||
|
||
# Install dependencies | ||
RUN npm install | ||
RUN npm ci | ||
|
||
# Set environment variables | ||
ENV NODE_ENV=production | ||
ENV HOSTNAME="0.0.0.0" | ||
ENV PORT=80 | ||
|
||
# Build the React app for production | ||
COPY ./ground-server . | ||
COPY ./protos /protos | ||
RUN npm run build | ||
ENV NODE_ENV=production | ||
|
||
# Expose port 80 to the outside world so the website can be viewed from a browser without specifying a port | ||
EXPOSE 80 | ||
ENV PORT=80 | ||
|
||
# Start the production server | ||
ENV HOSTNAME="0.0.0.0" | ||
CMD ["npm", "run", "start"] | ||
CMD ["npm", "run", "start"] |
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 was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -0,0 +1,20 @@ | ||
{ | ||
"$schema": "https://ui.shadcn.com/schema.json", | ||
"style": "new-york", | ||
"rsc": true, | ||
"tsx": true, | ||
"tailwind": { | ||
"config": "tailwind.config.ts", | ||
"css": "src/app/globals.css", | ||
"baseColor": "zinc", | ||
"cssVariables": true, | ||
"prefix": "" | ||
}, | ||
"aliases": { | ||
"components": "@/components", | ||
"utils": "@/lib/utils", | ||
"ui": "@/components/ui", | ||
"lib": "@/lib", | ||
"hooks": "@/hooks" | ||
} | ||
} |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.