BioNexus / server /Dockerfile
gaialive's picture
Upload 7 files
b125087 verified
raw
history blame contribute delete
292 Bytes
# Use Node.js runtime
FROM node:18-alpine
# Set working directory
WORKDIR /app
# Copy package files
COPY package*.json ./
# Install dependencies
RUN npm install --only=production
# Copy application code
COPY . .
# Expose port
EXPOSE 3001
# Start the application
CMD ["node", "index.js"]