File size: 436 Bytes
2bf9711
32a9e13
7769088
cb666c5
 
7769088
d0d946a
fe53290
cb666c5
 
0b6faa3
8519250
bb7e4dc
7769088
 
bb7e4dc
7769088
617d6a7
7769088
bb7e4dc
f95abd8
7769088
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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 git pull

# Install npm dependencies
RUN npm install

RUN npm ci 

# Expose the port your application runs on
EXPOSE 5000

# Start the application
CMD ["npm", "start"]