Finalize template
This commit is contained in:
16
apps/web-app/Dockerfile.dev
Normal file
16
apps/web-app/Dockerfile.dev
Normal file
@@ -0,0 +1,16 @@
|
||||
FROM node:20-bookworm-slim
|
||||
|
||||
WORKDIR /app
|
||||
RUN corepack enable
|
||||
|
||||
# Dependencies (from workspace root)
|
||||
COPY package.json pnpm-lock.yaml ./
|
||||
RUN pnpm install
|
||||
|
||||
# Monorepo structure
|
||||
COPY nx.json tsconfig.base.json ./
|
||||
COPY apps/web-app ./apps/web-app
|
||||
COPY libs ./libs
|
||||
|
||||
ENV HOSTNAME=0.0.0.0
|
||||
CMD ["pnpm", "nx", "serve", "web-app"]
|
||||
@@ -514,6 +514,7 @@ import { CommonModule } from '@angular/common';
|
||||
<h1>
|
||||
<span> Hello there, </span>
|
||||
Welcome web-app 👋
|
||||
<span> HMR is working! </span>
|
||||
</h1>
|
||||
</div>
|
||||
<!-- HERO -->
|
||||
|
||||
Reference in New Issue
Block a user