5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-11-26 02:06:21 +00:00

agregar el repositorio git para poder hacer pull

This commit is contained in:
f 2020-12-29 15:10:50 -03:00
parent e2d4ef6c9e
commit ac013b5d6e

View file

@ -105,6 +105,7 @@ RUN adduser -s /bin/sh -G www-data -h /srv/http -D app
# Convertirse en app para instalar # Convertirse en app para instalar
USER app USER app
COPY --from=build --chown=app:www-data /home/app/checkout /srv/http COPY --from=build --chown=app:www-data /home/app/checkout /srv/http
COPY --chown=app:www-data ./.git/ ./.git/
RUN rm -rf /srv/http/_sites /srv/http/_deploy RUN rm -rf /srv/http/_sites /srv/http/_deploy
RUN ln -s data/_storage /srv/http/_storage RUN ln -s data/_storage /srv/http/_storage
RUN ln -s data/_sites /srv/http/_sites RUN ln -s data/_sites /srv/http/_sites