-
-
Notifications
You must be signed in to change notification settings - Fork 8
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
Showing
19 changed files
with
118 additions
and
886 deletions.
There are no files selected for viewing
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 |
---|---|---|
|
@@ -115,3 +115,4 @@ deploy.env | |
|
||
.nx/cache | ||
.tmp | ||
tmp |
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 |
---|---|---|
@@ -1,20 +1,17 @@ | ||
# This file is generated by Nx. | ||
# | ||
# Build the docker image with `npx nx docker-build service`. | ||
# Tip: Modify "docker-build" options in project.json to change docker build args. | ||
# | ||
# Run the container with `docker run -p 3000:3000 -t service`. | ||
FROM docker.io/node:20-alpine | ||
FROM --platform=linux/amd64 docker.io/node:20-alpine | ||
|
||
ENV HOST=0.0.0.0 | ||
ENV PORT=3000 | ||
ENV PORT=3333 | ||
|
||
WORKDIR /app | ||
|
||
RUN addgroup --system service && \ | ||
adduser --system -G service service | ||
RUN addgroup --system service && adduser --system -G service service | ||
|
||
# Needed by @fastify/secure-session | ||
RUN npm i sodium-native@^4.0.0 | ||
|
||
COPY dist/apps/service service | ||
|
||
RUN chown -R service:service . | ||
|
||
CMD [ "node", "service" ] | ||
CMD [ "node", "service/app.js" ] |
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,4 +1,4 @@ | ||
import init from '../dist'; | ||
import init from '../app'; | ||
|
||
export default async (req, res) => { | ||
const app = init(); | ||
|
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 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
2 changes: 1 addition & 1 deletion
2
apps/website/src/pages/ReportsPage/components/ReportsChart/index.ts
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,5 +1,5 @@ | ||
import { lazy } from 'react'; | ||
|
||
const ReportsChart = lazy(() => import(/* webpackChunkName: "ReportsChart" */ './ReportsChart')); | ||
const ReportsChart = lazy(() => import('./ReportsChart')); | ||
|
||
export default ReportsChart; |
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,7 +1,7 @@ | ||
import { lazy } from 'react'; | ||
|
||
export { default as HomePage } from './HomePage'; | ||
export const CreateProjectPage = lazy(() => import(/* webpackChunkName: "CreateProjectPage" */ './CreateProjectPage')); | ||
export const ReportPage = lazy(() => import(/* webpackChunkName: "ReportPage" */ './ReportPage')); | ||
export const ReportsPage = lazy(() => import(/* webpackChunkName: "ReportsPage" */ './ReportsPage')); | ||
export const LoginPage = lazy(() => import(/* webpackChunkName: "LoginPage" */ './LoginPage')); | ||
export const CreateProjectPage = lazy(() => import('./CreateProjectPage')); | ||
export const ReportPage = lazy(() => import('./ReportPage')); | ||
export const ReportsPage = lazy(() => import('./ReportsPage')); | ||
export const LoginPage = lazy(() => import('./LoginPage')); |
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 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
Oops, something went wrong.