dockerize project #2
@ -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
|
|
@ -17,7 +17,6 @@ jobs:
|
|||||||
password: ${{ vars.DOCKER_PW }}
|
password: ${{ vars.DOCKER_PW }}
|
||||||
|
|
||||||
- name: build
|
- name: build
|
||||||
working-directory: .docker
|
|
||||||
run: docker build -t git.simonis.lol/sites/file-explorer:latest .
|
run: docker build -t git.simonis.lol/sites/file-explorer:latest .
|
||||||
|
|
||||||
- name: push
|
- name: push
|
||||||
|
@ -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 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
|
RUN pecl install apcu && docker-php-ext-enable apcu
|
||||||
|
|
||||||
COPY ../../ /var/www/project/
|
COPY .. /var/www/project/
|
||||||
|
|
||||||
WORKDIR /var/www
|
WORKDIR /var/www
|
Loading…
x
Reference in New Issue
Block a user