File tree 3 files changed +6
-6
lines changed
3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -558,10 +558,10 @@ be achieved by using a `Dockerfile` with the following contents:
558
558
COPY public/ public/
559
559
COPY vendor/ vendor/
560
560
561
- ENV X_LISTEN 0.0.0.0:8080
561
+ ENV X_LISTEN= 0.0.0.0:8080
562
562
EXPOSE 8080
563
563
564
- ENTRYPOINT php public/index.php
564
+ ENTRYPOINT [" php", " public/index.php"]
565
565
```
566
566
567
567
=== "Dockerfile for minimal production image"
@@ -589,7 +589,7 @@ be achieved by using a `Dockerfile` with the following contents:
589
589
# COPY src/ src/
590
590
COPY --from=build /app/vendor/ vendor/
591
591
592
- ENV X_LISTEN 0.0.0.0:8080
592
+ ENV X_LISTEN= 0.0.0.0:8080
593
593
EXPOSE 8080
594
594
595
595
USER nobody:nobody
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ WORKDIR /app/
5
5
COPY public/ public/
6
6
COPY vendor/ vendor/
7
7
8
- ENV X_LISTEN 0.0.0.0:8080
8
+ ENV X_LISTEN= 0.0.0.0:8080
9
9
EXPOSE 8080
10
10
11
- ENTRYPOINT php public/index.php
11
+ ENTRYPOINT [" php", " public/index.php"]
Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ COPY public/ public/
23
23
# COPY src/ src/
24
24
COPY --from=build /app/vendor/ vendor/
25
25
26
- ENV X_LISTEN 0.0.0.0:8080
26
+ ENV X_LISTEN= 0.0.0.0:8080
27
27
EXPOSE 8080
28
28
29
29
USER nobody:nobody
You can’t perform that action at this time.
0 commit comments