You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
237 B
12 lines
237 B
4 years ago
|
FROM nginx:alpine
|
||
|
|
||
|
ADD vue.app.conf /etc/nginx/conf.d/
|
||
|
|
||
|
ADD dist /app
|
||
|
|
||
|
RUN mv /etc/nginx/conf.d/default.conf /etc/nginx/conf.d/default.bak \
|
||
|
&& dos2unix /etc/nginx/conf.d/vue.app.conf
|
||
|
|
||
|
EXPOSE 9000
|
||
|
|
||
|
ENTRYPOINT ["nginx","-g","daemon off;"]
|