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

Fix restart setting

parent 40dc67e3
Branches 24-everything-from-git
No related tags found
2 merge requests!17Resolve "Build dependencies from POC",!16Resolve "Build dependencies from POC"
...@@ -5,9 +5,9 @@ RUN chown -R node:node /opt ...@@ -5,9 +5,9 @@ RUN chown -R node:node /opt
EXPOSE 9000 EXPOSE 9000
WORKDIR /opt WORKDIR /opt
USER node USER node
RUN npm install RUN yarn install
RUN npm run build RUN yarn run build
CMD npm run serve CMD yarn run serve
FROM caddy:latest as httpd FROM caddy:latest as httpd
COPY --from=mirador /opt/public /srv COPY --from=mirador /opt/public /srv
Subproject commit a1e2371bcb8d4fa41e77767d70ea0e6052d586a0 Subproject commit a52f4ec738ceeeff96aab7a369bf1cdc019e85c1
...@@ -5,6 +5,7 @@ services: ...@@ -5,6 +5,7 @@ services:
context: . context: .
dockerfile: Dockerfile dockerfile: Dockerfile
target: httpd target: httpd
restart: $RESTART
environment: environment:
- CORS_ALLOWED_HOSTS - CORS_ALLOWED_HOSTS
- WEBPACK_MODE=production - WEBPACK_MODE=production
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment