解决Dockerfile报错
This commit is contained in:
parent
9a1405743b
commit
9c5322b142
|
|
@ -17,6 +17,9 @@ npm-debug.log*
|
|||
yarn-debug.log*
|
||||
yarn-error.log*
|
||||
pnpm-debug.log*
|
||||
log/
|
||||
/log
|
||||
|
||||
|
||||
# 编辑器配置
|
||||
.vscode/*
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@ ARG PACKAGE
|
|||
ENV PACKAGE $PACKAGE
|
||||
ADD . /app
|
||||
WORKDIR /app
|
||||
RUN mkdir /app/log
|
||||
RUN mkdir -p /app/log
|
||||
RUN cd /app && \
|
||||
chmod +x start.sh && \
|
||||
npm config set registry https://registry.npmmirror.com/ && \
|
||||
|
|
|
|||
Loading…
Reference in New Issue