mirror of
https://github.com/Pythagora-io/gpt-pilot.git
synced 2026-01-09 13:17:55 -05:00
Add svg and ico to docker image
This commit is contained in:
@@ -56,6 +56,8 @@ RUN groupadd -g 1000 devusergroup && \
|
||||
# Set up entrypoint and VS Code extension
|
||||
ADD cloud/entrypoint.sh /entrypoint.sh
|
||||
ADD cloud/on-event-extension-install.sh /var/init_data/on-event-extension-install.sh
|
||||
ADD cloud/favicon.svg /favicon.svg
|
||||
ADD cloud/favicon.ico /favicon.ico
|
||||
|
||||
# Create necessary directories with proper permissions for code-server
|
||||
RUN mkdir -p /usr/local/share/code-server/data/User/globalStorage && \
|
||||
|
||||
@@ -20,6 +20,10 @@ export DB_DIR=$PYTHAGORA_DATA_DIR/database
|
||||
chown -R devuser: $PYTHAGORA_DATA_DIR
|
||||
su -c "mkdir -p $DB_DIR" devuser
|
||||
|
||||
# Copy icons before changing permissions
|
||||
mv -f /favicon.ico /usr/local/lib/code-server/src/browser/media/favicon.ico
|
||||
mv -f /favicon.svg /usr/local/lib/code-server/src/browser/media/favicon-dark-support.svg
|
||||
mv -f /favicon.svg /usr/local/lib/code-server/src/browser/media/favicon.svg
|
||||
# Ensure code-server directories have correct permissions
|
||||
chown -R devuser:devusergroup /usr/local/share/code-server
|
||||
chmod -R 755 /usr/local/share/code-server
|
||||
|
||||
BIN
cloud/favicon.ico
Normal file
BIN
cloud/favicon.ico
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 15 KiB |
4
cloud/favicon.svg
Normal file
4
cloud/favicon.svg
Normal file
@@ -0,0 +1,4 @@
|
||||
<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<rect width="16" height="16" rx="3.2" fill="#FFD11A"/>
|
||||
<path fill-rule="evenodd" clip-rule="evenodd" d="M7.28507 4.11352C7.07726 4.26999 6.89667 4.60639 6.53548 5.2792L4.16469 9.69538C3.83841 10.3032 3.67527 10.6071 3.65596 10.853C3.61663 11.3538 3.90083 11.8245 4.3641 12.0258C4.59154 12.1246 4.93817 12.1246 5.63143 12.1246H10.373C11.0663 12.1246 11.4129 12.1246 11.6403 12.0258C12.1036 11.8245 12.3878 11.3538 12.3485 10.853C12.3292 10.6071 12.166 10.3032 11.8397 9.69539L9.46896 5.2792C9.10777 4.60639 8.92717 4.26999 8.71936 4.11352C8.29527 3.79419 7.70916 3.79419 7.28507 4.11352ZM7.93448 5.73598C7.78885 5.77551 7.68713 5.9659 7.48369 6.34668L5.40726 10.2332C5.23246 10.5604 5.46491 10.956 5.83758 10.9657C6.4244 10.9808 10.6231 10.3035 9.83641 8.79224L8.56635 6.35243C8.36702 5.96951 8.26736 5.77806 8.12215 5.73698C8.06086 5.71964 7.99596 5.71929 7.93448 5.73598Z" fill="#060218"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 994 B |
Reference in New Issue
Block a user