go-test / Dockerfile
KL-MLC's picture
Update Dockerfile
8289437 verified
raw
history blame
363 Bytes
FROM luanyaolingwu/alpinemirai:0.0.1-mcl2.1.2-20230714-noadapter-noqsign
WORKDIR /test
COPY . .
RUN apk add nodejs npm curl p7zip git \
&& npm install pnpm -g
# 修改目录权限
RUN mkdir /.npm && chown -R 1000:0 "/.npm" && chown -R 1000:0 "./" && chmod -R 755 "./"
# 暴露端口
EXPOSE 7860
RUN ls /test
# 启动APP
CMD ["sh", "./initApplication.sh"]