microservices/deployment-service/dockerfile

17 lines
252 B
Text
Raw Normal View History

2025-04-25 09:21:18 -07:00
FROM node:18-alpine
WORKDIR /app
# Install dependencies
COPY package.json ./
RUN npm install --production
# Copy source and example env
COPY src ./src
COPY .env.example .env
# Expose port
EXPOSE 3006
# Start management service
CMD ["npm", "start"]