aee0f09db8
- Datafabrik: Dockerfile fix, agentorkestrering fungerar - Vision: Identify-modell, FAISS, OCR alla testade - API: Alla 7 integrationstester passerade - Upplösare: Entitetsupplösning verifierad
22 lines
343 B
Docker
22 lines
343 B
Docker
FROM node:20-alpine
|
|
|
|
WORKDIR /app
|
|
|
|
# Install dependencies
|
|
COPY package*.json .
|
|
RUN npm install
|
|
|
|
# Copy application
|
|
COPY . .
|
|
|
|
# Build for production
|
|
RUN npm run build
|
|
|
|
# Serve with nginx
|
|
FROM nginx:alpine
|
|
COPY --from=0 /app/dist /usr/share/nginx/html
|
|
COPY nginx.conf /etc/nginx/conf.d/default.conf
|
|
|
|
EXPOSE 80
|
|
CMD ["nginx", "-g", "daemon off;"]
|