generated from eea/volto-addon-template
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #383 from eea/develop
Release
- Loading branch information
Showing
122 changed files
with
1,264 additions
and
684 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
# syntax=docker/dockerfile:1 | ||
ARG VOLTO_VERSION | ||
FROM plone/frontend-builder:${VOLTO_VERSION} | ||
|
||
ARG ADDON_NAME | ||
ARG ADDON_PATH | ||
|
||
COPY --chown=node:node ./ /app/src/addons/${ADDON_PATH}/ | ||
|
||
RUN /setupAddon | ||
RUN yarn install | ||
|
||
ENTRYPOINT ["yarn"] | ||
CMD ["start"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
version: "3" | ||
services: | ||
backend: | ||
image: plone/plone-backend:${PLONE_VERSION:-6} | ||
ports: | ||
- "8080:8080" | ||
environment: | ||
SITE: "Plone" | ||
|
||
frontend: | ||
build: | ||
context: ./ | ||
dockerfile: ./Dockerfile | ||
args: | ||
ADDON_NAME: "${ADDON_NAME}" | ||
ADDON_PATH: "${ADDON_PATH}" | ||
VOLTO_VERSION: ${VOLTO_VERSION:-16} | ||
ports: | ||
- "3000:3000" | ||
- "3001:3001" | ||
depends_on: | ||
- backend | ||
volumes: | ||
- ./:/app/src/addons/${ADDON_PATH} | ||
environment: | ||
RAZZLE_INTERNAL_API_PATH: "http://backend:8080/Plone" | ||
RAZZLE_DEV_PROXY_API_PATH: "http://backend:8080/Plone" | ||
HOST: "0.0.0.0" |
Oops, something went wrong.