Skip to content

Commit a7638cd

Browse files
committedNov 20, 2024·
update CI Docker Hub autoDeploy
1 parent 62a3b16 commit a7638cd

File tree

3 files changed

+4
-5
lines changed

3 files changed

+4
-5
lines changed
 

‎.github/workflows/docker.yml

-1
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,5 @@ jobs:
2222
uses: docker/build-push-action@v6
2323
with:
2424
platforms: linux/amd64,linux/arm64
25-
context: .
2625
push: true
2726
tags: ${{ secrets.DOCKER_USERNAME }}/${{ github.event.repository.name }}:latest

‎docker/php/Dockerfile ‎Dockerfile

+3-3
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ FROM php:8.2-rc-apache
22

33
RUN echo "ServerName localhost" >> /etc/apache2/apache2.conf
44
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
66
RUN echo 'deb [trusted=yes] https://repo.symfony.com/apt/ /' | tee /etc/apt/sources.list.d/symfony-cli.list
77
RUN apt-get update \
88
&& apt-get install -y --no-install-recommends \
@@ -54,10 +54,10 @@ RUN chown -R www-data:www-data /var/www/mock-veliko-api
5454
RUN service apache2 restart
5555

5656
# Suppression de GIT
57-
RUN apt-get purge -y git
57+
#RUN apt-get purge -y git
5858

5959
# 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*
6161

6262
# CLI command init
6363
# RUN cd mock-veliko-api && php bin/edu init

‎compose.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
services:
22
app:
33
container_name: mock-veliko-api
4-
build: ./docker/php
4+
build: .
55
ports:
66
- "9042:80"
77
# volumes:

0 commit comments

Comments
 (0)
Please sign in to comment.