Packaging fixes

This commit is contained in:
Vincent Fiduccia
2018-04-12 21:48:52 -07:00
parent d1752b4c7c
commit ed8036e10f
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
+1 -1
View File
@@ -39,7 +39,7 @@ RUN ln -s /site/config.toml /run \
COPY gulpfile.babel.js /run/
# Expose default hugo port
EXPOSE 9000
EXPOSE 9001
ENTRYPOINT ["gulp"]
CMD ["dev"]
+1 -1
View File
@@ -1,5 +1,5 @@
{
"name": "RancherLabs - Docs",
"name": "rancher-docs",
"private": true,
"scripts": {
"build": "gulp build",
+2 -2
View File
@@ -1,6 +1,6 @@
#!/bin/bash
PORT=9000
PORT=9001
THEME=
# cd to app root
@@ -64,4 +64,4 @@ if [[ "$THEME" ]]; then
THEMEVOLUME="-v ${ABSOLUTE}:/run/node_modules/rancher-website-theme"
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}