add project files

This commit is contained in:
2026-06-26 14:50:55 +02:00
parent f2d0cd6a14
commit 811dc6b848
55770 changed files with 7418342 additions and 2 deletions
@@ -0,0 +1,24 @@
# DockerfileGTFRH.frontend
FROM node:18-alpine
# Create app directory
WORKDIR /GTF
# Copy package files first for caching
COPY package*.json ./
# Clean install to ensure Linux-compatible node_modules
RUN rm -rf node_modules package-lock.json && npm install
# Copy rest of the source code
COPY . .
RUN npm install -g vite
RUN npm install react-router-dom
RUN npm install --save-dev @vitejs/plugin-react
# Expose Vite default dev port
EXPOSE 3001
CMD ["npm", "run", "dev", "--", "--host", "0.0.0.0", "--port", "3001"]