Heat-Tracker/Dockerfile
2025-04-22 09:41:26 -04:00

19 lines
271 B
Docker

# Use official Node.js 18 LTS alpine image
FROM node:18-alpine
# Create app directory
WORKDIR /app
# Install app dependencies
COPY package*.json ./
RUN npm install --production
# Copy source
COPY . .
# Expose port
EXPOSE 3000
# Start the server
CMD ["npm", "start"]