This commit is contained in:
root
2025-11-09 15:50:14 +01:00
parent b8aceb695e
commit 5b7bbd4b70

View File

@@ -1,6 +1,5 @@
FROM node:18-alpine AS base
WORKDIR /app
ENV NODE_ENV=production
# 1) Install dependencies (cached until package files change)
COPY package*.json ./
@@ -16,5 +15,6 @@ COPY server.js ./
COPY services ./services
RUN mkdir -p config
ENV NODE_ENV=production
EXPOSE 3000
CMD ["node", "server.js"]