dockerize stack

This commit is contained in:
2025-06-22 03:13:03 +02:00
parent c4caaddb10
commit d74105529e
10 changed files with 643 additions and 1 deletions

19
client/Dockerfile Normal file
View File

@@ -0,0 +1,19 @@
FROM node:18-alpine
# Set working directory
WORKDIR /opt/app
# Copy package files
COPY package*.json ./
# Install dependencies
RUN npm ci
# Copy source code
COPY . .
# Expose port
EXPOSE 4321
# Start the development server
CMD ["npm", "run", "dev", "--", "--host", "0.0.0.0"]