Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
{
"markdown.extension.toc.levels": "2..6",
"markdown.extension.orderedList.autoRenumber": false,
"typescript.preferences.importModuleSpecifier": "relative"
"typescript.preferences.importModuleSpecifier": "relative",
"workbench.colorCustomizations": {
"activityBar.background": "#352A3A",
"titleBar.activeBackground": "#4A3A51",
"titleBar.activeForeground": "#FBFAFB"
}
}
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
FROM node:22.14.0-alpine

RUN apk add --no-cache bash
RUN npm i -g @nestjs/cli typescript ts-node
RUN npm i -g @nestjs/cli typescript ts-node pnpm

COPY package*.json /tmp/app/
RUN cd /tmp/app && npm install
RUN cd /tmp/app && pnpm install

COPY . /usr/src/app
RUN cp -a /tmp/app/node_modules /usr/src/app
Expand All @@ -17,6 +17,6 @@ RUN sed -i 's/\r//g' /opt/startup.relational.dev.sh

WORKDIR /usr/src/app
RUN if [ ! -f .env ]; then cp env-example-relational .env; fi
RUN npm run build
RUN pnpm run build

CMD ["/opt/startup.relational.dev.sh"]
4 changes: 2 additions & 2 deletions Procfile
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
web: npm run start:prod
release: echo '' > .env && npm run migration:run && npm run seed:run:relational
web: pnpm run start:prod
release: echo '' > .env && pnpm run migration:run && pnpm run seed:run:relational
6 changes: 3 additions & 3 deletions document.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
FROM node:22.14.0-alpine

RUN apk add --no-cache bash
RUN npm i -g @nestjs/cli typescript ts-node
RUN npm i -g @nestjs/cli typescript ts-node pnpm

COPY package*.json /tmp/app/
RUN cd /tmp/app && npm install
RUN cd /tmp/app && pnpm install

COPY . /usr/src/app
RUN cp -a /tmp/app/node_modules /usr/src/app
Expand All @@ -17,6 +17,6 @@ RUN sed -i 's/\r//g' /opt/startup.document.dev.sh

WORKDIR /usr/src/app
RUN if [ ! -f .env ]; then cp env-example-document .env; fi
RUN npm run build
RUN pnpm run build

CMD ["/opt/startup.document.dev.sh"]
6 changes: 3 additions & 3 deletions document.e2e.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
FROM node:22.14.0-alpine

RUN apk add --no-cache bash
RUN npm i -g @nestjs/cli typescript ts-node
RUN npm i -g @nestjs/cli typescript ts-node pnpm

COPY package*.json /tmp/app/
RUN cd /tmp/app && npm install
RUN cd /tmp/app && pnpm install

COPY . /usr/src/app
RUN cp -a /tmp/app/node_modules /usr/src/app
Expand All @@ -17,6 +17,6 @@ RUN sed -i 's/\r//g' /opt/startup.document.ci.sh

WORKDIR /usr/src/app
RUN echo "" > .env
RUN npm run build
RUN pnpm run build

CMD ["/opt/startup.document.ci.sh"]
4 changes: 2 additions & 2 deletions document.test.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
FROM node:22.14.0-alpine

RUN apk add --no-cache bash
RUN npm i -g @nestjs/cli typescript ts-node
RUN npm i -g @nestjs/cli typescript ts-node pnpm

COPY package*.json /tmp/app/
RUN cd /tmp/app && npm install
RUN cd /tmp/app && pnpm install

COPY . /usr/src/app

Expand Down
3 changes: 2 additions & 1 deletion maildev.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
FROM node:22.14.0-alpine

RUN npm i -g maildev@2.0.5
RUN npm i -g pnpm
RUN pnpm i -g maildev@2.0.5

CMD maildev
Loading