File size: 649 Bytes
0286d8a
57f1111
0286d8a
 
57f1111
 
c9cc447
 
 
 
 
57f1111
0286d8a
 
 
 
79fb3c7
 
0286d8a
 
e660215
0286d8a
 
 
a8c837a
0286d8a
 
b69abd9
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# Use the official Node.js image as the base image
# 基于 node:18 镜像
FROM node:18

# 更新 apt-get 并安装字体
RUN apt-get update && apt-get install -y \
    fonts-wqy-zenhei # 安装文泉驿正黑字体

RUN apt-get install -y xfonts-wqy # 安装文泉驿点阵宋体



# Set the working directory inside the container
WORKDIR /app

# Clone the code from the GitHub repository
#RUN git clone https://github.com/SokWith/getbing-cct-cookie .
COPY . .

# Install the dependencies
#RUN npm install axios
RUN npm install

# Expose the port that your application is listening on
EXPOSE 7860

# Start the application
CMD ["node",  "index.js"]