-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #147 from ungdev/dev
Landing website for 2023
- Loading branch information
Showing
117 changed files
with
10,736 additions
and
8,789 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 |
---|---|---|
|
@@ -7,7 +7,7 @@ | |
/build | ||
.nyc_output | ||
coverage | ||
yarn-error.log | ||
pnpm-error.log | ||
|
||
# misc | ||
.DS_Store | ||
|
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 |
---|---|---|
@@ -0,0 +1,11 @@ | ||
# Nom de la PR | ||
|
||
## Changements | ||
|
||
## Breaking changes | ||
|
||
## Ce qu'il reste à faire (POUR LES DRAFTS) | ||
|
||
- [ ] Vérifier le build | ||
- [ ] Lint | ||
- [ ] Supprimer les console.log / code commenté |
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,23 +1,25 @@ | ||
FROM node:16 | ||
FROM node:18 | ||
|
||
ENV NODE_ENV=production | ||
WORKDIR /srv/app | ||
|
||
RUN npm install -g pnpm | ||
|
||
RUN chown node:node . | ||
|
||
USER node | ||
|
||
# Node has the uid 1000 | ||
COPY --chown=node:node package.json yarn.lock schema.prisma ./ | ||
COPY --chown=node:node package.json pnpm-lock.yaml schema.prisma ./ | ||
|
||
RUN yarn --frozen-lockfile --production=false --network-timeout 1000000 | ||
RUN pnpm install --frozen-lockfile --production=false | ||
|
||
COPY --chown=node:node ./ ./ | ||
|
||
RUN yarn prisma generate | ||
RUN yarn build | ||
RUN pnpm pnpx prisma generate | ||
RUN pnpm build | ||
|
||
# Prunes devDependencies | ||
RUN yarn install --production --ignore-scripts --prefer-offline --network-timeout 1000000 | ||
RUN pnpm install --production --ignore-scripts --prefer-offline | ||
|
||
CMD yarn start | ||
CMD pnpm 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.
Oops, something went wrong.