Files
platform/services/inventory/Dockerfile

19 lines
231 B
Docker
Raw Normal View History

FROM node:18-alpine
WORKDIR /app
# Copy package files
COPY package*.json ./
# Install dependencies
RUN npm install
# Copy application files
COPY . .
# Expose port
EXPOSE 3000
# Start the application
CMD ["node", "server.js"]