13 lines
260 B
Docker
13 lines
260 B
Docker
|
FROM registry.cn-shanghai.aliyuncs.com/devcon/node:18
|
||
|
ADD . /app
|
||
|
WORKDIR /app
|
||
|
RUN mkdir /app/log
|
||
|
RUN cd /app && \
|
||
|
chmod +x start.sh && \
|
||
|
npm config set registry https://registry.npmmirror.com/ && \
|
||
|
npm install
|
||
|
EXPOSE 9000
|
||
|
CMD [ "/app/start.sh" ]
|
||
|
|
||
|
|