diff --git a/Dockerfile b/Dockerfile index 67b03d4f030be4439c5dfce0b5076d6b80a32c53..32817381d2a2e41876b33da129b839cf7ad96903 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,11 +2,9 @@ FROM debian:stable as builder RUN apt-get update && apt-get install -y npm git RUN node -v -COPY mirador-annotations/ /opt + WORKDIR /opt RUN pwd -RUN npm install -# start app -RUN pwd +RUN ls CMD ["npm", "start"] diff --git a/docker-compose.yml b/docker-compose.yml index b4c3da416060e05874f9bd9f06362a182db13a35..ec85a714fb521d435338b91e6b9952ec29d5c7d1 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -6,6 +6,8 @@ services: - ${DEV_PORT}:3000 environment: - CORS_ALLOWED_HOSTS + volumes: + - ./mirador-annotations:/opt annotot: image: tetraslibre/annotot-app environment: