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
File renamed without changes.
File renamed without changes.
File renamed without changes.
4 changes: 2 additions & 2 deletions apps/api/package.json → apps/nest-app/package.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"name": "@coldrun/monorepo-typescript-api",
"name": "@coldrun/monorepo-typescript-nest-app",
"private": true,
"version": "1.0.0",
"description": "API starter repository powered by NestJS",
"description": "Starter app service powered by NestJS",
"license": "MIT",
"scripts": {
"build": "nest build",
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
14 changes: 5 additions & 9 deletions packages/playground/Dockerfile → apps/vanilla-vite/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ WORKDIR /app
COPY package.json pnpm-lock.yaml pnpm-workspace.yaml .npmrc tsconfig.json ./
COPY packages/core packages/core
COPY packages/shared packages/shared
COPY packages/playground packages/playground
COPY apps/vanilla-vite apps/vanilla-vite

RUN --mount=type=cache,id=pnpm,target=/pnpm/store \
--mount=type=secret,id=npmrc,target=/root/.npmrc \
Expand All @@ -24,16 +24,12 @@ RUN pnpm build

RUN --mount=type=cache,id=pnpm,target=/pnpm/store \
--mount=type=secret,id=npmrc,target=/root/.npmrc \
pnpm deploy --legacy --filter="@coldrun/monorepo-typescript-playground" --prod /app/deploy
pnpm deploy --legacy --filter="@coldrun/monorepo-typescript-vanilla-vite" --prod /app/deploy

FROM nginx:stable AS playground
FROM nginx:stable AS app

COPY packages/playground/.docker/nginx.conf /etc/nginx/conf.d/default.conf
COPY packages/playground/.docker/expires.conf /etc/nginx/conf.d/expires.conf
COPY apps/vanilla-vite/.docker/nginx.conf /etc/nginx/conf.d/default.conf
COPY apps/vanilla-vite/.docker/expires.conf /etc/nginx/conf.d/expires.conf

COPY --from=build /app/deploy/dist /app
COPY --from=build /app/deploy/node_modules /app/node_modules

RUN ls -al /app
RUN ls -al /app/node_modules
#ENTRYPOINT ["node", "main.js"]
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "@coldrun/monorepo-typescript-playground",
"name": "@coldrun/monorepo-typescript-vanilla-vite",
"private": true,
"version": "0.2.0",
"type": "module",
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Loading