Skip to content
Dockerfile 1.85 KiB
Newer Older
Pierre Ozoux's avatar
Pierre Ozoux committed
ARG VERSION
FROM rocketchat/rocket.chat:${VERSION}

COPY ./img/favicon.ico /app/bundle/programs/web.browser/app/favicon.ico

COPY ./img/android-chrome-192x192.png /app/bundle/programs/web.browser/app/images/logo/android-chrome-192x192.png
COPY ./img/android-chrome-512x512.png /app/bundle/programs/web.browser/app/images/logo/android-chrome-512x512.png
COPY ./img/apple-touch-icon.png       /app/bundle/programs/web.browser/app/images/logo/apple-touch-icon.png
COPY ./img/favicon-16x16.png          /app/bundle/programs/web.browser/app/images/logo/favicon-16x16.png
COPY ./img/favicon-32x32.png          /app/bundle/programs/web.browser/app/images/logo/favicon-32x32.png
COPY ./img/icon.svg                   /app/bundle/programs/web.browser/app/images/logo/icon.svg
COPY ./img/logo.png                   /app/bundle/programs/web.browser/app/images/logo/logo.png
COPY ./img/logo.png                   /app/bundle/programs/web.browser/app/images/logo/1024x1024.png
COPY ./img/logo.svg                   /app/bundle/programs/web.browser/app/images/logo/logo.svg
#COPY ./img/ /app/bundle/programs/web.browser/app/images/logo/apple-touch-icon-precomposed.png
#COPY ./img/ /app/bundle/programs/web.browser/app/images/logo/mstile-144x144.png
#COPY ./img/ /app/bundle/programs/web.browser/app/images/logo/mstile-150x150.png
#COPY ./img/ /app/bundle/programs/web.browser/app/images/logo/mstile-70x70.png
#COPY ./img/ /app/bundle/programs/web.browser/app/images/logo/mstile-310x150.png
#COPY ./img/ /app/bundle/programs/web.browser/app/images/logo/mstile-310x310.png
#COPY ./img/ /app/bundle/programs/web.browser/app/images/logo/safari-pinned-tab.svg

COPY ./css/indie.css /app/bundle/indie.css
RUN cd /app/bundle/programs/web.browser \
 && css=`ls /app/bundle/programs/web.browser/*.css` \
 && chmod +w $css \
 && cat /app/bundle/indie.css >> $css \
 && chmod -w $css \
 && rm /app/bundle/indie.css