Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(docker): fonts are managed with the rest of app related stuff #9692

Merged
merged 1 commit into from
Apr 30, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions docker/images/parabol-ubi/dockerfiles/basic.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,16 +10,17 @@ ENV HOME=/home/node \
NPM_CONFIG_PREFIX=/home/node/.npm-global \
PORT=3000

# Create a directory to store fonts
RUN mkdir -p /usr/share/fonts
COPY --chown=node static/fonts /usr/share/fonts
COPY --chown=node --chmod=755 docker/images/parabol-ubi/entrypoints/docker-entrypoint.sh /usr/local/bin/docker-entrypoint.sh
COPY --chown=node docker/images/parabol-ubi/tools/ip-to-server_id ${HOME}/tools/ip-to-server_id

# Required for pushToCDN to work with FILE_STORE_PROVIDER set to 'local'
RUN mkdir -p ${HOME}/parabol/self-hosted && \
chown node:node ${HOME}/parabol/self-hosted

# Create a directory to store fonts
RUN mkdir -p /usr/share/fonts
COPY --chown=node static/fonts /usr/share/fonts

COPY --chown=node .env.example ${HOME}/parabol/.env.example

# The application requires a yarn.lock file on the root folder to identify it
Expand Down
Loading