Miao-MBT / Dockerfile
QSLY's picture
Update Dockerfile
c2cb3b5 verified
raw
history blame contribute delete
356 Bytes
FROM node:21
RUN apt-get update
EXPOSE 7860
# 将工作目录设置为 LYLN 目录
WORKDIR /LYLN
# 将项目文件复制到容器中
COPY ./character-Api /LYLN
# 安装插件
RUN git clone --depth=1 https://github.com/LiuYunLingNai/api.git /LYLN/data
RUN ls
RUN npm --registry=https://registry.npmmirror.com install pnpm -g
RUN pnpm install
CMD node app