first intial
Some checks failed
CI Pipeline / Lint & Test Frontend (push) Has been cancelled
CI Pipeline / Test Backend (push) Has been cancelled

This commit is contained in:
2025-09-16 22:59:46 +08:00
parent 64b5af061a
commit 6e7a8c784b
133 changed files with 31858 additions and 16 deletions

14
apps/frontend/Dockerfile Normal file
View File

@@ -0,0 +1,14 @@
FROM node:18-alpine
# Set the working directory in the container
WORKDIR /app
# Copy the package.json and lock files from the monorepo root
COPY package*.json ./
# Install all dependencies for the entire monorepo
RUN npm install
# The command to start the dev server for the 'frontend' app
# The 'host' flag is set to '0.0.0.0' to allow external connections (from the host machine)
CMD ["npx", "nx", "run", "frontend:serve", "--host", "0.0.0.0"]