@@ -2,6 +2,12 @@ FROM nginx
MAINTAINER 229230041@qq.com
VOLUME /tmp
ENV LANG en_US.UTF-8
+RUN curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add - \
+&& echo "deb https://dl.yarnpkg.com/debian/ stable main" | tee /etc/apt/sources.list.d/yarn.list \
+&& apt update \
+&& apt install yarn \
+ && yarn install \
+ && yarn build
RUN echo "server { \
listen 80; \
location /shop-api/ { \