Add Dockerfiles and update package dependencies

Introduced Dockerfiles for logistics and frontend applications to streamline development and deployment. Updated package dependencies in the frontend to newer versions for improved stability and compatibility.
This commit is contained in:
GotthardG
2025-03-14 13:47:54 +01:00
parent 2f23533b2d
commit db6164ac3f
7 changed files with 151 additions and 59 deletions

16
logistics/Dockerfile Normal file
View File

@ -0,0 +1,16 @@
FROM node:18-alpine
WORKDIR /app
# Copy only the necessary package files first
COPY package*.json ./
RUN npm install
# Copy OpenAPI models into the build context
COPY openapi ./openapi
# Copy the rest of the logistics app files
COPY . .
# Build the application
RUN npm run build