From fbfe60a117e70185d8d62cbb6279dfbf68762e1a Mon Sep 17 00:00:00 2001 From: Anthony Geourjon <anthony.geourjon@tetras-libre.fr> Date: Tue, 28 Feb 2023 18:20:17 +0100 Subject: [PATCH] Almost working --- Dockerfile | 6 ++---- docker-compose.yml | 2 ++ 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index 67b03d4..3281738 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 b4c3da4..ec85a71 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: -- GitLab