TerminalDocker / Dockerfile
clone3's picture
Create Dockerfile
d823cdc verified
raw
history blame
327 Bytes
# Use Node.js 18 base image
FROM node:18
# Set the working directory inside the container
WORKDIR /app
# Clone the repository
RUN git clone https://github.com/ChrisCindy/node-web-console.git .
# Install dependencies
RUN npm install
# Expose the port the app runs on
EXPOSE 7860
# Start the application
CMD ["npm", "start"]