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
No related branches found
No related tags found
1 merge request!11Mirador/annotations plugins as submodules
node_modules/
annotot-db/
......@@ -5,3 +5,5 @@ dist/
.cache/
.*.sw?
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
RUN apk add npm git
FROM debian:stable as builder
RUN apt-get update && apt-get install -y npm git
COPY . /opt
WORKDIR /opt
......
FROM node:16-alpine
RUN apk add git
FROM debian:stable-slim
RUN apt-get update && apt-get install -y git npm
RUN useradd --home-dir /opt node
RUN chown node:node /opt
EXPOSE 9000
WORKDIR /opt
USER node
......
Subproject commit ecf8aea15ed8e80861517687d96f3629105ca3ed
Subproject commit 2de71320cb830dcb2be99b346a050cc8582ea724
This diff is collapsed.
......@@ -12,8 +12,8 @@
"dependencies": {
"css-loader": "^3.6.0",
"dotenv-webpack": "^8.0.1",
"mirador": "git+https://gitlab.tetras-libre.fr/iiif/mirador-video-annotation#wip-webpack-from-git",
"mirador-annotations": "0.4.0",
"mirador": "file:mirador-video-annotation",
"mirador-annotations": "file:annotations-plugin",
"react": "^16.13.1",
"react-dom": "^16.13.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