- Added package.json with dependencies for React, Vite, TypeScript, and ESLint. - Included Vite logo SVG and React logo SVG in the public and assets directories respectively. - Created main application component (App.tsx) with basic structure and state management. - Added global styles in index.css and component-specific styles in App.css. - Configured TypeScript with tsconfig files for app and node environments. - Set up Vite configuration for development server with specified host and port.
13 lines
118 B
Docker
13 lines
118 B
Docker
FROM node:20-alpine
|
|
|
|
WORKDIR /app
|
|
|
|
COPY package*.json ./
|
|
RUN npm install
|
|
|
|
COPY . .
|
|
|
|
EXPOSE 5001
|
|
|
|
CMD ["npm", "start"]
|