Merge pull request #1 from vincent99/master

Packaging fixes
This commit is contained in:
Vincent Fiduccia
2018-04-12 21:49:27 -07:00
committed by GitHub
4 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -1,4 +1,4 @@
FROM rancherlabs/website:build as build FROM rancher/docs:build as build
WORKDIR /run WORKDIR /run
+1 -1
View File
@@ -39,7 +39,7 @@ RUN ln -s /site/config.toml /run \
COPY gulpfile.babel.js /run/ COPY gulpfile.babel.js /run/
# Expose default hugo port # Expose default hugo port
EXPOSE 9000 EXPOSE 9001
ENTRYPOINT ["gulp"] ENTRYPOINT ["gulp"]
CMD ["dev"] CMD ["dev"]
+1 -1
View File
@@ -1,5 +1,5 @@
{ {
"name": "RancherLabs - Docs", "name": "rancher-docs",
"private": true, "private": true,
"scripts": { "scripts": {
"build": "gulp build", "build": "gulp build",
+2 -2
View File
@@ -1,6 +1,6 @@
#!/bin/bash #!/bin/bash
PORT=9000 PORT=9001
THEME= THEME=
# cd to app root # cd to app root
@@ -64,4 +64,4 @@ if [[ "$THEME" ]]; then
THEMEVOLUME="-v ${ABSOLUTE}:/run/node_modules/rancher-website-theme" THEMEVOLUME="-v ${ABSOLUTE}:/run/node_modules/rancher-website-theme"
fi fi
docker run --rm -p ${PORT}:${PORT} -it -v $(pwd):/site ${THEMEVOLUME} rancherlabs/website:dev dev --port=${PORT} docker run --rm -p ${PORT}:${PORT} -it -v $(pwd):/site ${THEMEVOLUME} rancher/docs:dev dev --port=${PORT}