dockerize project #2

Merged
csimonis merged 38 commits from feature/build into main 2024-12-04 17:33:43 +00:00
3 changed files with 1 additions and 12 deletions
Showing only changes of commit 498473686a - Show all commits

View File

@ -1,10 +0,0 @@
services:
file-explorer:
build: .
container_name: file-explorer
ports:
- "8080:80"
volumes:
- ./hosts:/etc/apache2/sites-enabled
- ../:/var/www/project
restart: unless-stopped

View File

@ -17,7 +17,6 @@ jobs:
password: ${{ vars.DOCKER_PW }}
- name: build
working-directory: .docker
run: docker build -t git.simonis.lol/sites/file-explorer:latest .
- name: push

View File

@ -15,6 +15,6 @@ RUN docker-php-ext-configure intl
RUN docker-php-ext-install pdo pdo_mysql mysqli gd opcache intl zip calendar dom mbstring zip gd xsl && a2enmod rewrite
RUN pecl install apcu && docker-php-ext-enable apcu
COPY ../../ /var/www/project/
COPY .. /var/www/project/
WORKDIR /var/www