|
@@ -17,6 +17,5 @@ ARG CONF_NAME
|
|
RUN rm /etc/nginx/conf.d/default.conf
|
|
RUN rm /etc/nginx/conf.d/default.conf
|
|
COPY --from=build-stage /app/dist /opt/dist
|
|
COPY --from=build-stage /app/dist /opt/dist
|
|
COPY ./$CONF_NAME /etc/nginx/conf.d/$CONF_NAME
|
|
COPY ./$CONF_NAME /etc/nginx/conf.d/$CONF_NAME
|
|
-COPY /opt/dist ./dist
|
|
|
|
|
|
|
|
CMD ["nginx","-g","daemon off;"]
|
|
CMD ["nginx","-g","daemon off;"]
|