Skip to content

Commit

Permalink
Refs #126363 changed the following:
Browse files Browse the repository at this point in the history
- fixed volume definition in Dockerfile
- use develop tag image in docker-image.txt
  for develop branch
- define volume in docker-compose.yml used
  in local devel
  • Loading branch information
ichim-david committed Jan 20, 2021
1 parent 783063e commit 3289c8c
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ USER node
RUN mkdir -p /opt/frontend/src/addons
USER root
RUN npm install -g mrs-developer
VOLUME /opt/frontend/src/addons
VOLUME ./src/addons

USER node
RUN RAZZLE_API_PATH=VOLTO_API_PATH RAZZLE_INTERNAL_API_PATH=VOLTO_INTERNAL_API_PATH yarn \
Expand Down
6 changes: 5 additions & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,11 @@ version: '3'

services:
frontend:
image: eeacms/freshwater-frontend
image: eeacms/freshwater-frontend:develop
ports:
- "${FRONTEND:-8000}:3000"
volumes:
- freshwater_devel_addons:/opt/frontend/src/addons
depends_on:
- ploneapi
environment:
Expand All @@ -31,3 +33,5 @@ services:
volumes:
data:
driver: local
freshwater_devel_addons:
driver: local
2 changes: 1 addition & 1 deletion docker-image.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
eeacms/freshwater-frontend:0.1
eeacms/freshwater-frontend:develop

0 comments on commit 3289c8c

Please sign in to comment.