andreped commited on
Commit
fcf5bf7
·
unverified ·
2 Parent(s): 29767ab 96434cc

Merge pull request #7 from andreped:docker-ui-fix

Browse files
Files changed (2) hide show
  1. Dockerfile +2 -0
  2. js/viewer.js +1 -1
Dockerfile CHANGED
@@ -12,6 +12,8 @@ WORKDIR /app
12
  # Copy relevant files from repo for configuration and deployment
13
  COPY index.html /usr/share/nginx/html
14
  COPY nginx.conf /etc/nginx/nginx.conf
 
 
15
  COPY package.json /app/package.json
16
 
17
  # Download and uncompress test data
 
12
  # Copy relevant files from repo for configuration and deployment
13
  COPY index.html /usr/share/nginx/html
14
  COPY nginx.conf /etc/nginx/nginx.conf
15
+ COPY css/ /usr/share/nginx/html/css/
16
+ COPY js/ /usr/share/nginx/html/js/
17
  COPY package.json /app/package.json
18
 
19
  # Download and uncompress test data
js/viewer.js CHANGED
@@ -1,6 +1,6 @@
1
  var viewer = OpenSeadragon({
2
  id: "wsi-canvas",
3
- prefixUrl: "../node_modules/openseadragon/build/openseadragon/images/",
4
  zoomPerScroll: 2,
5
  zoomPerClick: 1,
6
  showNavigator: true,
 
1
  var viewer = OpenSeadragon({
2
  id: "wsi-canvas",
3
+ prefixUrl: "./node_modules/openseadragon/build/openseadragon/images/",
4
  zoomPerScroll: 2,
5
  zoomPerClick: 1,
6
  showNavigator: true,