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

@@ -71,7 +71,7 @@ Below is a list of packages that will be installed if missing.
CentOS:
- curl
- epel-release
- nodejs (v6)
- nodejs (v8)
- npm (v3)
- yarn
- gcc
@@ -88,7 +88,7 @@ Debian/Ubuntu:
- ca-certificates
- curl
- yarn
- nodejs (v6)
- nodejs (v8)
- npm (v3)
- build-essential
- redis-server

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