- 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
16 lines
257 B
Docker
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"]
|