generated from eea/volto-addon-template
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs: Cleanup Makefile, update DEVELOP documentation, i18n - refs #25…
…4894
- Loading branch information
valentinab25
committed
Jul 31, 2023
1 parent
b6c55db
commit 390eb9e
Showing
7 changed files
with
206 additions
and
51 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
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" |