Commit a7638cd committed Nov 20, 2024 · 3 / 3
1 parent 62a3b16 commit a7638cd Copy full SHA for a7638cd
File tree 3 files changed +4
-5
lines changed
3 files changed +4
-5
lines changed Original file line number Diff line number Diff line change 22
22
uses : docker/build-push-action@v6
23
23
with :
24
24
platforms : linux/amd64,linux/arm64
25
- context : .
26
25
push : true
27
26
tags : ${{ secrets.DOCKER_USERNAME }}/${{ github.event.repository.name }}:latest
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ FROM php:8.2-rc-apache
2
2
3
3
RUN echo "ServerName localhost" >> /etc/apache2/apache2.conf
4
4
RUN rm /etc/apache2/sites-enabled/000-default.conf
5
- COPY ./vhosts/vhosts.conf /etc/apache2/sites-enabled/vhosts.conf
5
+ COPY ./docker/php/ vhosts/vhosts.conf /etc/apache2/sites-enabled/vhosts.conf
6
6
RUN echo 'deb [trusted=yes] https://repo.symfony.com/apt/ /' | tee /etc/apt/sources.list.d/symfony-cli.list
7
7
RUN apt-get update \
8
8
&& apt-get install -y --no-install-recommends \
@@ -54,10 +54,10 @@ RUN chown -R www-data:www-data /var/www/mock-veliko-api
54
54
RUN service apache2 restart
55
55
56
56
# Suppression de GIT
57
- RUN apt-get purge -y git
57
+ # RUN apt-get purge -y git
58
58
59
59
# Clean up any remaining Git directories and files
60
- RUN rm -rf /usr/local/git /usr/local/bin/git /usr/local/share/git-Core /usr/share/doc/git /usr/share/man/man1/git*
60
+ # RUN rm -rf /usr/local/git /usr/local/bin/git /usr/local/share/git-Core /usr/share/doc/git /usr/share/man/man1/git*
61
61
62
62
# CLI command init
63
63
# RUN cd mock-veliko-api && php bin/edu init
Original file line number Diff line number Diff line change 1
1
services :
2
2
app :
3
3
container_name : mock-veliko-api
4
- build : ./docker/php
4
+ build : .
5
5
ports :
6
6
- " 9042:80"
7
7
# volumes:
You can’t perform that action at this time.
0 commit comments