Authored by 陈峰

commit

... ... @@ -16,11 +16,14 @@ ENV NODE_ENV=production \
COPY yohoblk-wap.tar.gz /home
WORKDIR /home
RUN tar -xzvf yohoblk-wap.tar.gz && \
rm -f yohoblk-wap.tar.gz
RUN cd /home && \
mkdir -p /home/yohoblk-wap && \
mkdir -p /Data/log/yohoblk-wap && \
tar -xzvf yohoblk-wap.tar.gz -C /home/yohoblk-wap && \
rm -rf yohoblk-wap.tar.gz
WORKDIR /home/yohoblk-wap
#expose port
EXPOSE 6004
... ...