File size: 520 Bytes
773a536
 
 
 
43dd347
ad7a302
773a536
43dd347
773a536
 
43dd347
 
 
 
35e9ff0
 
43dd347
d5fccd8
773a536
43dd347
773a536
 
43dd347
35e9ff0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
FROM node:18

WORKDIR /app

# Copy only package.json and yarn.lock into /app
COPY package.json /app/

# Install dependencies in /app
RUN yarn install

# Clone the GitHub repository into /app/session
RUN git clone https://github.com/reaperofssa/Session /app/session

# Copy everything else from the current directory to the container's /app directory
COPY . /app

# Make everything executable
RUN chmod -R 777 /app

# Expose port 7860
EXPOSE 7860

# Set the entrypoint to the start.sh script
CMD ["bash", "/app/start.sh"]