mount local code folders during development

single_container
Christophe Siraut 2 years ago
parent b063c6438a
commit ab54f65086
  1. 2
      Dockerfile
  2. 3
      docker-compose.override.yml

@ -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

@ -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

Loading…
Cancel
Save