musfi_prod / Dockerfile
abubasith86
Working code
7769088
raw
history blame
430 Bytes
FROM node:23.7.0 as builder
# Install git
RUN apt-get update && apt-get install -y git
# Clone the GitHub repository
RUN rm -rf /usr/src/app && git clone https://github.com/abubasith456/Node-WLA.git /usr/src/app
# Set the working directory
WORKDIR /usr/src/app
RUN ls
# Install npm dependencies
RUN npm install
RUN npm ci
# Expose the port your application runs on
EXPOSE 5000
# Start the application
CMD ["npm", "start"]