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