feat: add Docker Compose setup with Nginx, PostgreSQL, MinIO
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
13
apps/cms/Dockerfile
Normal file
13
apps/cms/Dockerfile
Normal file
@@ -0,0 +1,13 @@
|
||||
FROM node:20-alpine AS base
|
||||
|
||||
WORKDIR /app
|
||||
COPY package.json package-lock.json* ./
|
||||
RUN npm ci
|
||||
COPY . .
|
||||
RUN npm run build
|
||||
|
||||
FROM node:20-alpine AS production
|
||||
WORKDIR /app
|
||||
COPY --from=base /app ./
|
||||
EXPOSE 1337
|
||||
CMD ["npm", "run", "start"]
|
||||
Reference in New Issue
Block a user