Fix WORKDIR, rename DB to e_ticket, simplify purge_dev

- Add WORKDIR /app to dev and prod Dockerfiles
- Rename database from e-ticket to e_ticket (PostgreSQL compat)
- purge_dev: remove only containers and volumes, keep images

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Serreau Jovann
2026-03-18 21:12:42 +01:00
parent 2d02ba4cbb
commit 8e34a5b3a6
4 changed files with 24 additions and 20 deletions

View File

@@ -24,3 +24,5 @@ RUN docker-php-ext-configure gd --with-freetype --with-jpeg \
RUN pecl install redis imagick \
&& docker-php-ext-enable redis imagick
WORKDIR /app

View File

@@ -28,3 +28,5 @@ RUN pecl install redis imagick \
COPY php.ini /usr/local/etc/php/conf.d/app.ini
COPY opcache.ini /usr/local/etc/php/conf.d/opcache.ini
WORKDIR /app