Skip to content

Commit 8b8c440

Browse files
authored
Default PHP.ini to production template.
Expose port for PHP by default.
1 parent 5a7348d commit 8b8c440

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Dockerfile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
FROM php:8.0-fpm-alpine
22

33
# Setup ENV defaults
4-
ENV ENVIROMENT=development
4+
ENV ENVIROMENT=production
55
ENV UID=1000
66
ENV TZ=UTC
77

@@ -31,4 +31,6 @@ RUN usermod -u $UID www-data
3131
# Set Working Dir
3232
WORKDIR /srv/app
3333

34+
EXPOSE 9000
35+
3436
CMD ["php-fpm"]

0 commit comments

Comments
 (0)