The Esri ArcGIS Experience Builder containerized for faster development of apps, widgets, and themes
1.0K
The Docker file used to build this image:
FROM node:20.11.1-bullseye AS build
# Arguments
ARG EXB_SRC
# Copy src zip to container
WORKDIR /home/node/
COPY ${EXB_SRC} ${EXB_SRC}
RUN unzip ${EXB_SRC}
# Install ExB dependencies
WORKDIR /home/node/ArcGISExperienceBuilder/client
RUN npm ci
WORKDIR /home/node/ArcGISExperienceBuilder/server
RUN npm ci
FROM node:20.11.1-bullseye-slim
# Copy ExB from the build stage to the final stage
COPY --from=build /home/node/ArcGISExperienceBuilder /home/node/ArcGISExperienceBuilder
# Change working dirctory to ExB root
WORKDIR /home/node/ArcGISExperienceBuilder
# Install concurently globaly so we can run 2 services at once, client and server.
RUN npm i -g concurrently
# start up the ExB client and server.
CMD concurrently --names "CLIENT,SERVER" --prefix "{name}: {time}" "cd ./client && npm run start" "cd ./server && npm run start"
Example build command:
docker build --build-arg EXB_SRC="arcgis-experience-builder-1.13.zip" -t "dspriggs/arcgis-exb:1.13" .
See Github repo for more details: https://github.com/DavidSpriggs/arcgis-exb-image
Content type
Image
Digest
sha256:edadef236…
Size
360.5 MB
Last updated
about 1 year ago
docker pull dspriggs/arcgis-exb:1.18