Fix broken path in Dockerfile and update README
This commit is contained in:
@@ -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
|
||||
|
@@ -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
|
||||
|
Reference in New Issue
Block a user