From node:lts-slim # Set the working directory in the container to /app WORKDIR /app RUN set -x && \ apt-get update && \ apt-get upgrade -y && \ apt-get install --no-install-recommends -y git \ curl \ cron \ wget \ tzdata \ perl \ openssl \ openssh-client \ nginx \ jq \ procps \ unzip \ libatomic1 && \ apt-get clean && \ ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime && \ echo "Asia/Shanghai" >/etc/timezone && \ git config --global user.email "qinglong@@users.noreply.github.com" && \ git config --global user.name "qinglong" && \ git config --global http.sslverify false && \ git config --global http.postBuffer 524288000 RUN git clone https://github.com/shihuihzh/Live-TV /app # Install any needed packages specified in package.json RUN npm install # Make port 32888 available to the world outside this container EXPOSE 32888 # Run app.js when the container launches CMD ["node", "server.js"]