Fix broken path in Dockerfile and update README

This commit is contained in:
ronivay
2018-02-24 18:43:37 +02:00
parent c5545e631c
commit 440ac8cda5
2 changed files with 3 additions and 3 deletions

View File

@@ -28,7 +28,7 @@ RUN git clone -b master https://github.com/vatesfr/xen-orchestra /etc/xen-orches
RUN cd /etc/xen-orchestra && yarn && yarn build
# Fix path for xo-web content in xo-server configuration
RUN sed -i "s/#'\/': '\/path\/to\/xo-web\/dist\//'\/': '..\/xo-web\/dist\//" /etc/xo-server/sample.config.yaml
RUN sed -i "s/#'\/': '\/path\/to\/xo-web\/dist\//'\/': '..\/xo-web\/dist\//" /etc/xen-orchestra/packages/xo-server/sample.config.yaml
# Move edited config sample to place
RUN mv /etc/xen-orchestra/packages/xo-server/sample.config.yaml /etc/xen-orchestra/packages/xo-server/.xo-server.yaml