mirror of
https://github.com/pezkuwichain/pezkuwi-telemetry.git
synced 2026-06-18 03:51:02 +00:00
adding front to the CI
adding frontend configmaps and envVars optimizing docker-compose and DockerfIle
This commit is contained in:
+6
-5
@@ -19,13 +19,14 @@ ENV SUBSTRATE_TELEMETRY_URL=
|
||||
|
||||
WORKDIR /usr/share/nginx/html
|
||||
|
||||
COPY --from=builder /opt/builder/env.sh /usr/bin/
|
||||
RUN apk add --no-cache bash; chmod +x /usr/bin/env.sh
|
||||
#COPY --from=builder /opt/builder/env.sh /usr/bin/
|
||||
#RUN apk add --no-cache bash; chmod +x /usr/bin/env.sh
|
||||
|
||||
COPY --from=builder /opt/builder/nginx/nginx.conf /etc/nginx/nginx.conf
|
||||
COPY --from=builder /opt/builder/nginx/default /etc/nginx/sites-available/default
|
||||
#COPY --from=builder /opt/builder/nginx/nginx.conf /etc/nginx/nginx.conf
|
||||
#COPY --from=builder /opt/builder/nginx/default /etc/nginx/sites-available/default
|
||||
COPY --from=builder /opt/builder/build /usr/share/nginx/html
|
||||
|
||||
EXPOSE 80
|
||||
|
||||
CMD ["/bin/bash", "-c", "/usr/bin/env.sh && nginx -g \"daemon off;\""]
|
||||
#CMD ["/bin/bash", "-c", "/usr/bin/env.sh && nginx -g \"daemon off;\""]
|
||||
CMD [ "nginx", "-g" ,"\"daemon off;\""]
|
||||
|
||||
Reference in New Issue
Block a user