Skip to content

Commit

Permalink
fix(docker): support building with podman (#1166)
Browse files Browse the repository at this point in the history
  • Loading branch information
ashhhleyyy authored Oct 3, 2024
1 parent 24010eb commit a001244
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 1 addition & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,7 @@ RUN a2enmod rewrite ssl
RUN echo "Mutex posixsem" >> /etc/apache2/apache2.conf

COPY sample_configs/apache.conf /etc/apache2/sites-available/myradio.conf
RUN a2dissite 000-default && a2ensite myradio && \
service apache2 restart && apachectl -S
RUN a2dissite 000-default && a2ensite myradio && apachectl -S

COPY --from=composer:latest /usr/bin/composer /usr/local/bin/composer

Expand Down
3 changes: 1 addition & 2 deletions Dockerfile.prod
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,7 @@ RUN openssl req -nodes -new -subj "/C=GB/ST=North Yorkshire/L=York/O=University
RUN a2enmod rewrite ssl

COPY sample_configs/apache.conf /etc/apache2/sites-available/myradio.conf
RUN a2dissite 000-default && a2ensite myradio && \
service apache2 restart && apachectl -S
RUN a2dissite 000-default && a2ensite myradio && apachectl -S

COPY --from=composer:latest /usr/bin/composer /usr/local/bin/composer

Expand Down

0 comments on commit a001244

Please sign in to comment.