- Added index.js: Simple HTTP server on port 3000 - Added package.json: NPM configuration - Added Dockerfile: Multi-stage Docker build - Added .dockerignore: Exclude unnecessary files from build Ready for Coolify deployment via CI/CD pipeline.
14 lines
130 B
Docker
14 lines
130 B
Docker
FROM node:18-alpine
|
|
|
|
WORKDIR /app
|
|
|
|
COPY package.json .
|
|
|
|
RUN npm install --production
|
|
|
|
COPY . .
|
|
|
|
EXPOSE 3000
|
|
|
|
CMD ["npm", "start"]
|