added docker-compose and Docket.dev for github pages

This commit is contained in:
JBB0807 2025-05-26 14:11:12 -07:00
parent 96d3dcbb8c
commit 17644fbbdb
2 changed files with 35 additions and 0 deletions

20
Dockerfile.dev Normal file
View file

@ -0,0 +1,20 @@
# Development Dockerfile with hot reload for Vite React application
FROM node:18-alpine
WORKDIR /app
# Copy package.json and lock file
COPY package.json pnpm-lock.yaml ./
# Install dependencies
RUN npm install -g pnpm && \
pnpm install
# Copy project files
COPY . .
# Expose port for Vite dev server
EXPOSE 5173
# Start development server with hot reload
CMD ["pnpm", "run", "dev", "--", "--host", "0.0.0.0"]