2023-08-22 18:32:45 +00:00
|
|
|
FROM cerc/webapp-base:local
|
2023-03-23 22:02:55 +00:00
|
|
|
|
|
|
|
# This container pulls npm packages from a local registry configured via these env vars
|
2023-04-17 19:40:49 +00:00
|
|
|
ARG CERC_NPM_REGISTRY_URL
|
2023-03-23 22:02:55 +00:00
|
|
|
ARG CERC_NPM_AUTH_TOKEN
|
|
|
|
|
|
|
|
# Configure the local npm registry
|
2023-04-17 19:40:49 +00:00
|
|
|
RUN npm config set @cerc-io:registry ${CERC_NPM_REGISTRY_URL} \
|
|
|
|
&& npm config set @lirewine:registry ${CERC_NPM_REGISTRY_URL} \
|
|
|
|
&& npm config set -- ${CERC_NPM_REGISTRY_URL}:_authToken ${CERC_NPM_AUTH_TOKEN}
|
2023-03-23 22:02:55 +00:00
|
|
|
|
2023-03-30 06:15:36 +00:00
|
|
|
# Globally install the payload web app package
|
2023-03-23 22:02:55 +00:00
|
|
|
RUN yarn global add @cerc-io/console-app
|
|
|
|
|
2023-08-22 18:32:45 +00:00
|
|
|
COPY ./config.yml /config
|