packlist/frontend/Dockerfile
Felix Zett 56de7bb167 feat: initialize frontend with React, Vite, and Tailwind CSS
- package.json with dependencies and scripts for development
- postcss.config.js for Tailwind CSS and autoprefixer
- main App component with routing for Trips and Items pages
- API functions for fetching trips and items
- components for item listing, item rows, search bar, and tag filtering
- ItemsPage to manage items with search and tag filtering
- TripsPage to display trips and associated items
- Tailwind CSS and TypeScript settings
2025-08-17 20:13:46 +02:00

16 lines
257 B
Docker

FROM node:20-alpine
WORKDIR /app
# Nur package.json kopieren, um Cache zu nutzen
COPY package*.json ./
# Installation im Container
RUN npm install
# Code mounten wir später über compose
COPY . .
EXPOSE 5173
CMD ["npm", "run", "dev", "--", "--host"]