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:
|
CentOS:
|
||||||
- curl
|
- curl
|
||||||
- epel-release
|
- epel-release
|
||||||
- nodejs (v6)
|
- nodejs (v8)
|
||||||
- npm (v3)
|
- npm (v3)
|
||||||
- yarn
|
- yarn
|
||||||
- gcc
|
- gcc
|
||||||
@@ -88,7 +88,7 @@ Debian/Ubuntu:
|
|||||||
- ca-certificates
|
- ca-certificates
|
||||||
- curl
|
- curl
|
||||||
- yarn
|
- yarn
|
||||||
- nodejs (v6)
|
- nodejs (v8)
|
||||||
- npm (v3)
|
- npm (v3)
|
||||||
- build-essential
|
- build-essential
|
||||||
- redis-server
|
- 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
|
RUN cd /etc/xen-orchestra && yarn && yarn build
|
||||||
|
|
||||||
# Fix path for xo-web content in xo-server configuration
|
# 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
|
# 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
|
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