Skip to content

Commit

Permalink
update docker file v2
Browse files Browse the repository at this point in the history
  • Loading branch information
gheorghelupu17 committed Oct 4, 2023
1 parent d192f45 commit ea543f9
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM php:7.4-apache as build
FROM php:7.4-fpm as build

WORKDIR /var/www

Expand All @@ -16,11 +16,6 @@ RUN pecl install imagick && \
ENV PHP_OPCACHE_ENABLE=1

EXPOSE 8080

RUN echo "Listen 8080" >> /etc/apache2/ports.conf && \
chown -R www-data:www-data /var/www/ && \
a2enmod rewrite && service apache2 restart

##################################### assets_builder stage #############
## Build nodejs files ##
FROM node:16-alpine as assets_builder
Expand Down

0 comments on commit ea543f9

Please sign in to comment.