Files
getrankekarte/Dockerfile
DanielS 728c9a1aa9
All checks were successful
Build and Deploy / build (push) Successful in 53s
fix: Port 80 im Container und Alpine C++ Build-Tools für SQLite
2026-09-22 21:57:48 +02:00

17 lines
251 B
Docker

FROM node:20-alpine AS build
# Build-Tools für native SQLite Module (better-sqlite3)
RUN apk add --no-cache python3 make g++
WORKDIR /app
COPY package*.json ./
RUN npm install --omit=dev
COPY . .
EXPOSE 80
ENV PORT=80
CMD ["node", "server.js"]