Skip to content
Snippets Groups Projects
Verified Commit a0033939 authored by David Beniamine's avatar David Beniamine
Browse files

Remove build of prod and switch back to NPM

parent 8c7bd5b6
No related branches found
No related tags found
1 merge request!17Resolve "Build dependencies from POC"
......@@ -5,9 +5,11 @@ RUN chown -R node:node /opt
EXPOSE 9000
WORKDIR /opt
USER node
RUN yarn install
RUN yarn run build
CMD yarn run serve
CMD npm run serve
FROM mirador as builder
RUN npm install
RUN npm run build
FROM caddy:latest as httpd
COPY --from=mirador /opt/public /srv
COPY --from=builder /opt/public /srv
version: "3.3"
services:
devserver:
httpd:
build:
context: .
target: mirador
......@@ -15,10 +15,6 @@ services:
volumes:
- ./:/opt
httpd:
ports:
- $PORT:80
annotot:
ports:
- ${ANNOTOT_PORT}:3000
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment