Skip to content
Snippets Groups Projects
Verified Commit a99912f0 authored by Loïs Poujade's avatar Loïs Poujade
Browse files

Mirador/annotations plugins as submodules

- still need to rebuild the libs if modified
- replaced alpine (which can't build some npm deps because of musl) by
  debian
parent 3468dfc8
Branches
No related tags found
1 merge request!11Mirador/annotations plugins as submodules
node_modules/ node_modules/
annotot-db/
...@@ -5,3 +5,5 @@ dist/ ...@@ -5,3 +5,5 @@ dist/
.cache/ .cache/
.*.sw? .*.sw?
annotot-db/ annotot-db/
.bash_history
.npm/
[submodule "mirador-video-annotation"]
path = mirador-video-annotation
url = gitlab@gitlab.tetras-libre.fr:iiif/mirador-video-annotation.git
[submodule "annotations-plugin"]
path = annotations-plugin
url = gitlab@gitlab.tetras-libre.fr:iiif/mirador-annotations.git
FROM alpine:latest as builder FROM debian:stable as builder
RUN apk add npm git RUN apt-get update && apt-get install -y npm git
COPY . /opt COPY . /opt
WORKDIR /opt WORKDIR /opt
......
FROM node:16-alpine FROM debian:stable-slim
RUN apk add git RUN apt-get update && apt-get install -y git npm
RUN useradd --home-dir /opt node
RUN chown node:node /opt
EXPOSE 9000 EXPOSE 9000
WORKDIR /opt WORKDIR /opt
USER node USER node
......
Subproject commit ecf8aea15ed8e80861517687d96f3629105ca3ed
Subproject commit 2de71320cb830dcb2be99b346a050cc8582ea724
Source diff could not be displayed: it is too large. Options to address this: view the blob.
...@@ -12,8 +12,8 @@ ...@@ -12,8 +12,8 @@
"dependencies": { "dependencies": {
"css-loader": "^3.6.0", "css-loader": "^3.6.0",
"dotenv-webpack": "^8.0.1", "dotenv-webpack": "^8.0.1",
"mirador": "git+https://gitlab.tetras-libre.fr/iiif/mirador-video-annotation#wip-webpack-from-git", "mirador": "file:mirador-video-annotation",
"mirador-annotations": "0.4.0", "mirador-annotations": "file:annotations-plugin",
"react": "^16.13.1", "react": "^16.13.1",
"react-dom": "^16.13.1", "react-dom": "^16.13.1",
"style-loader": "^1.2.1" "style-loader": "^1.2.1"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment