Reorder pandora build
This commit is contained in:
parent
629e247570
commit
384f43748b
@ -62,13 +62,6 @@ RUN EOF
|
|||||||
# Create OS user
|
# Create OS user
|
||||||
addgroup -S -g 8002 pandora
|
addgroup -S -g 8002 pandora
|
||||||
adduser -S -u 8002 -h /srv/pandora -s /bin/false -g pandora -G pandora pandora
|
adduser -S -u 8002 -h /srv/pandora -s /bin/false -g pandora -G pandora pandora
|
||||||
chown -R 8002:8002 /srv/pandora
|
|
||||||
|
|
||||||
# Cleanup
|
|
||||||
apk --no-cache del .deps
|
|
||||||
find /srv/pandora -name '.git*' -exec rm -rf {} +
|
|
||||||
rm -rf /tmp/lib* /tmp/oxframe
|
|
||||||
rm -rf /root/.cache /root/.ox
|
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
COPY lxc
|
COPY lxc
|
||||||
@ -89,6 +82,12 @@ RUN EOF
|
|||||||
ln -s /srv/pandora/conf/gunicorn_config.py gunicorn_config.py
|
ln -s /srv/pandora/conf/gunicorn_config.py gunicorn_config.py
|
||||||
ln -s /srv/pandora/conf/local_settings.py local_settings.py
|
ln -s /srv/pandora/conf/local_settings.py local_settings.py
|
||||||
chown -R 8002:8002 /srv/pandora
|
chown -R 8002:8002 /srv/pandora
|
||||||
|
|
||||||
|
# Cleanup
|
||||||
|
apk --no-cache del .deps
|
||||||
|
find /srv/pandora -name '.git*' -exec rm -rf {} +
|
||||||
|
rm -rf /tmp/lib* /tmp/oxframe
|
||||||
|
rm -rf /root/.cache /root/.ox
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
MOUNT /srv/pandora/conf srv/pandora/conf
|
MOUNT /srv/pandora/conf srv/pandora/conf
|
||||||
|
Loading…
Reference in New Issue
Block a user