aaredb/logistics/Dockerfile
GotthardG db6164ac3f 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.
2025-03-14 13:47:54 +01:00

17 lines
284 B
Docker

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