extended project by management webserver for file sharing

This commit is contained in:
Ludwig Lehnert
2026-01-12 16:44:56 +01:00
parent c9662dcdc2
commit 175c586465
7 changed files with 774 additions and 4 deletions

14
expressjs/Dockerfile Normal file
View File

@@ -0,0 +1,14 @@
FROM node:20-bookworm-slim
WORKDIR /app
RUN apt-get update && apt-get install -y --no-install-recommends python3 make g++ && rm -rf /var/lib/apt/lists/*
COPY package.json package-lock.json* ./
RUN npm install --omit=dev
COPY src ./src
ENV NODE_ENV=production
CMD ["node", "src/server.js"]