Skip to content

Commit 6a8c137

Browse files
committed
Using 9000 port for frankenphp
1 parent f7e3e7f commit 6a8c137

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

Dockerfile

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
FROM dunglas/frankenphp
22

3-
COPY . /app
3+
ENV SERVER_NAME=:9000
44

55
RUN apt-get update && apt-get install -y git libicu-dev libzip-dev libpng-dev zip unzip libxml2-dev
66

@@ -10,4 +10,6 @@ RUN docker-php-ext-install intl pdo_sqlite zip gd xml
1010

1111
RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer
1212

13+
COPY . /app
14+
1315
RUN composer install

docker-compose.yml

+1-2
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,7 @@ services:
55
context: .
66
dockerfile: Dockerfile
77
ports:
8-
- 80:80
9-
- 443:443
8+
- 9000:9000
109
volumes:
1110
- ./:/app
1211
tty: true

0 commit comments

Comments
 (0)