Skip to content

Commit

Permalink
更新镜像原地址
Browse files Browse the repository at this point in the history
  • Loading branch information
KOUymA authored Sep 14, 2024
1 parent 0f15de5 commit 1aba812
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@ RUN apt-get update
RUN apt-cache search openjdk
RUN apt-get install openjdk-17-jdk -y

RUN npm install -g cnpm --registry=https://registry.npmmirror.com
RUN npm install -g pnpm --registry=https://registry.npmmirror.com
RUN /bin/bash -c "mkdir -p /hanlp-api"
COPY . /hanlp-api
WORKDIR /hanlp-api
RUN cnpm install
RUN pnpm install

ENTRYPOINT ["node"]
CMD ["app.js"]
Expand Down

0 comments on commit 1aba812

Please sign in to comment.