mirror of
https://github.com/InvoiceShelf/InvoiceShelf.git
synced 2026-04-19 03:04:05 +00:00
Update docker context for the php image
This commit is contained in:
@@ -2,8 +2,8 @@ services:
|
||||
php-fpm:
|
||||
container_name: invoiceshelf-dev-php
|
||||
build:
|
||||
context: .
|
||||
dockerfile: php/Dockerfile
|
||||
context: ./php
|
||||
dockerfile: Dockerfile
|
||||
args:
|
||||
- UID=${USRID:-1000}
|
||||
- GID=${GRPID:-1000}
|
||||
@@ -41,13 +41,13 @@ services:
|
||||
adminer:
|
||||
container_name: invoiceshelf-dev-adminer
|
||||
build:
|
||||
context: .
|
||||
dockerfile: adminer/Dockerfile
|
||||
context: ./adminer
|
||||
dockerfile: Dockerfile
|
||||
environment:
|
||||
ADMINER_PLUGINS: tables-filter
|
||||
ADMINER_DESIGN: konya
|
||||
ports:
|
||||
- '8089:8080'
|
||||
- '8080:8080'
|
||||
networks:
|
||||
- invoiceshelf-dev
|
||||
|
||||
|
||||
@@ -2,8 +2,8 @@ services:
|
||||
php-fpm:
|
||||
container_name: invoiceshelf-dev-php
|
||||
build:
|
||||
context: .
|
||||
dockerfile: php/Dockerfile
|
||||
context: ./php
|
||||
dockerfile: Dockerfile
|
||||
args:
|
||||
- UID=${USRID:-1000}
|
||||
- GID=${GRPID:-1000}
|
||||
@@ -40,13 +40,13 @@ services:
|
||||
adminer:
|
||||
container_name: invoiceshelf-dev-adminer
|
||||
build:
|
||||
context: .
|
||||
dockerfile: adminer/Dockerfile
|
||||
context: ./adminer
|
||||
dockerfile: Dockerfile
|
||||
environment:
|
||||
ADMINER_PLUGINS: tables-filter
|
||||
ADMINER_DESIGN: konya
|
||||
ports:
|
||||
- '54320:8080'
|
||||
- '8080:8080'
|
||||
networks:
|
||||
- invoiceshelf-dev
|
||||
|
||||
|
||||
@@ -2,8 +2,8 @@ services:
|
||||
php-fpm:
|
||||
container_name: invoiceshelf-dev-php
|
||||
build:
|
||||
context: .
|
||||
dockerfile: php/Dockerfile
|
||||
context: ./php
|
||||
dockerfile: Dockerfile
|
||||
args:
|
||||
- UID=${USRID:-1000}
|
||||
- GID=${GRPID:-1000}
|
||||
@@ -26,8 +26,8 @@ services:
|
||||
adminer:
|
||||
container_name: invoiceshelf-dev-adminer
|
||||
build:
|
||||
context: .
|
||||
dockerfile: adminer/Dockerfile
|
||||
context: ./adminer
|
||||
dockerfile: Dockerfile
|
||||
environment:
|
||||
ADMINER_PLUGINS: tables-filter
|
||||
ADMINER_DESIGN: konya
|
||||
|
||||
@@ -55,12 +55,10 @@ RUN apt-get clean && rm -rf /var/lib/apt/lists/*
|
||||
WORKDIR /home/invoiceshelf/app
|
||||
|
||||
# Copy Files
|
||||
COPY /php/entrypoint.sh /
|
||||
COPY entrypoint.sh /entrypoint.sh
|
||||
|
||||
# Entrypoint
|
||||
USER invoiceshelf
|
||||
ENTRYPOINT ["/entrypoint.sh"]
|
||||
|
||||
# Launch php-fpm
|
||||
USER root
|
||||
CMD ["php-fpm"]
|
||||
|
||||
Reference in New Issue
Block a user