Nexus / Dockerfile
Severian's picture
Update Dockerfile
660901a
raw
history blame
289 Bytes
# Use an official Node.js runtime as the base image
FROM node:18
# Install the application dependencies
RUN npm install
# Build the application
RUN npm run build
# Expose port 3000 for the application
EXPOSE 3000
# Define the command to run the application
CMD ["npm", "run", "start"]