Mise à jour de 'Sources/config/Dockerfile'
continuous-integration/drone/push Build is failing
Details
continuous-integration/drone/push Build is failing
Details
parent
8b1ca8d371
commit
f0bb8fed65
@ -1,10 +1,13 @@
|
||||
FROM php:8.2-apache as base
|
||||
|
||||
RUN curl -sL https://deb.nodesource.com/setup_12.x | bash - \
|
||||
&& apt-get install -y nodejs \
|
||||
&& npm install -g npm@8.5
|
||||
|
||||
WORKDIR /src
|
||||
COPY . /src
|
||||
RUN npm run dev
|
||||
FROM php:8.2-ftp as base
|
||||
|
||||
RUN docker-php-ext-install pdo pdo_mysql
|
||||
|
||||
COPY . /app
|
||||
|
||||
WORKDIR /var/www/html/
|
||||
|
||||
EXPOSE 80
|
||||
|
||||
FROM nginx
|
||||
COPY ./nginx/nginx.conf /etc/nginx/conf.d/default.conf
|
||||
COPY --from=base /app/build /usr/share/nginx/html
|
||||
|
Loading…
Reference in new issue