mirror of
https://github.com/penpot/penpot.git
synced 2025-06-05 15:31:39 +02:00
misc: minor improvements on data storage on production images
This commit is contained in:
parent
e786a85bbd
commit
1fce679402
3 changed files with 9 additions and 4 deletions
|
@ -10,6 +10,7 @@ RUN set -ex; \
|
|||
apt-get update -yq && \
|
||||
apt-get install -yq \
|
||||
curl \
|
||||
rsync \
|
||||
git \
|
||||
imagemagick \
|
||||
webp
|
||||
|
@ -25,9 +26,8 @@ COPY ./dist /srv/uxbox
|
|||
|
||||
RUN set -ex; \
|
||||
chmod 755 /entrypoint.sh; \
|
||||
mkdir -p /srv/uxbox/resources/media
|
||||
mkdir /srv/uxbox/data;
|
||||
|
||||
VOLUME /srv/uxbox/resources/public
|
||||
WORKDIR /srv/uxbox/
|
||||
|
||||
EXPOSE 6060
|
||||
|
|
|
@ -1,5 +1,8 @@
|
|||
#!/usr/bin/env bash
|
||||
set -e
|
||||
echo "Setting up UXBOX Backend..."
|
||||
|
||||
echo "Synchronize static data..."
|
||||
rsync -avr --delete ./resources/public/static/ ./data/static/
|
||||
|
||||
echo "Setting up UXBOX Backend..."
|
||||
exec "$@"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue