mount local code folders during development

This commit is contained in:
Christophe Siraut 2021-04-21 10:37:22 +02:00
parent b063c6438a
commit ab54f65086
2 changed files with 4 additions and 1 deletions

View File

@ -11,7 +11,7 @@ RUN apt-get update && \
ENV LANG fr_FR.utf8
ENV TERM xterm
RUN adduser --uid 1001 --gecos "" --disabled-password appuser
RUN adduser --uid 1000 --gecos "" --disabled-password appuser
RUN usermod -aG sudo appuser
RUN echo "appuser ALL=(ALL) NOPASSWD:ALL" >> /etc/sudoers

View File

@ -3,3 +3,6 @@ version: '3.3'
services:
citizen:
tty: true
volumes:
- ./vendor/GeoNature-citizen/frontend:/home/appuser/citizen/frontend
- ./vendor/GeoNature-citizen/backend:/home/appuser/citizen/backend