Files
ssd_health/files/ws_node/Dockerfile
2025-11-30 22:17:14 -08:00

18 lines
302 B
Docker

# Use an official Node runtime
FROM node:20-alpine
# Create app directory
WORKDIR /usr/src/app
# Install dependencies
COPY package.json .
RUN npm install --only=production
# Copy app source
COPY . .
# Expose the port that the app listens on
EXPOSE 3000
# Start the server
CMD ["node", "server.js"]