bfd35905c9
- Added favicon and icon assets for the mobile app. - Implemented EmotionPicker component for selecting emotions with child options. - Created hooks for fetching emotions, feeds, and rapport data. - Established API service for handling requests and authentication. - Integrated Zustand for state management of user authentication. - Defined color palette for the application. - Set up TypeScript types for various entities including User, Emotion, and Feed. - Configured Babel and TypeScript for the mobile project. - Added package.json with necessary dependencies for Expo and React Native.
29 lines
721 B
Docker
29 lines
721 B
Docker
FROM php:8.4-cli
|
|
|
|
# Extensions PHP nécessaires
|
|
RUN apt-get update && apt-get install -y \
|
|
libpq-dev \
|
|
unzip \
|
|
git \
|
|
&& docker-php-ext-install pdo pdo_pgsql bcmath \
|
|
&& pecl install redis && docker-php-ext-enable redis \
|
|
&& rm -rf /var/lib/apt/lists/*
|
|
|
|
# Composer
|
|
COPY --from=composer:2 /usr/bin/composer /usr/local/bin/composer
|
|
|
|
WORKDIR /app
|
|
|
|
# Dépendances PHP d'abord (cache Docker)
|
|
COPY composer.json composer.lock ./
|
|
RUN composer install --no-scripts --no-autoloader
|
|
|
|
# Copier le reste du code
|
|
COPY . .
|
|
RUN composer dump-autoload --optimize
|
|
|
|
EXPOSE 8000
|
|
|
|
# Script de démarrage : migration + seed + serve
|
|
CMD php artisan migrate --seed --force && php artisan serve --host=0.0.0.0 --port=8000
|