Mise à jour de 'Sources/config/Dockerfile'
continuous-integration/drone/push Build is failing Details

master
David D'ALMEIDA 1 year ago
parent 8b1ca8d371
commit f0bb8fed65

@ -1,10 +1,13 @@
FROM php:8.2-apache as base FROM php:8.2-ftp as base
RUN curl -sL https://deb.nodesource.com/setup_12.x | bash - \ RUN docker-php-ext-install pdo pdo_mysql
&& apt-get install -y nodejs \
&& npm install -g npm@8.5 COPY . /app
WORKDIR /var/www/html/
WORKDIR /src
COPY . /src
RUN npm run dev
EXPOSE 80 EXPOSE 80
FROM nginx
COPY ./nginx/nginx.conf /etc/nginx/conf.d/default.conf
COPY --from=base /app/build /usr/share/nginx/html

Loading…
Cancel
Save