Commit 6055c8d5 authored by tanghao's avatar tanghao

123

parent 1538896f
......@@ -8,7 +8,7 @@ RUN mkdir -p /var/www \
ADD ./dist/ /var/www/html/
EXPOSE 80
EXPOSE 443
CMD "echo" "server { \
CMD ["echo","'server { \
listen 80; \
client_max_body_size 50M; \
location /api/ { \
......@@ -28,4 +28,4 @@ CMD "echo" "server { \
} \
} \
access_log /var/log/nginx/access.log ; \
} > /etc/nginx/conf.d/default.conf"
} ' > /etc/nginx/conf.d/default.conf"]
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment