Skip to content
Snippets Groups Projects
Commit 32de64b9 authored by Anthony's avatar Anthony
Browse files

WIP

parent 6df7f503
No related branches found
No related tags found
No related merge requests found
FROM debian:stable as builder
RUN apt-get update && apt-get install -y npm git
COPY . /opt
RUN node -v
COPY mirador-annotations/ /opt
WORKDIR /opt
RUN npm ci
RUN npm run build
FROM caddy:latest as httpd
COPY --from=builder /opt/public /srv
RUN pwd
RUN npm install
# start app
RUN pwd
CMD ["npm", "start"]
version: "3.3"
services:
httpd:
web:
build: .
restart: $RESTART
ports:
- ${DEV_PORT}:3000
environment:
- CORS_ALLOWED_HOSTS
- WEBPACK_MODE=production
volumes:
- $HTTP_FOLDER:/srv/data
- ./Caddyfile:/etc/caddy/Caddyfile
annotot:
image: tetraslibre/annotot-app
environment:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment