We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6c89471 commit 2b2cdb7Copy full SHA for 2b2cdb7
Dockerfile
@@ -41,13 +41,14 @@ RUN set -x \
41
&& cp -r /tmp/adminer/designs/ /tmp/adminer/plugins/ . \
42
&& rm -rf /tmp/adminer/
43
44
+RUN apt-get update && apt-get install -y sed && rm -rf /var/lib/apt/lists/*
45
+RUN sed -i "s/Listen 80/Listen ${PORT:-8080}/g" /etc/apache2/ports.conf
46
+
47
COPY entrypoint.sh /usr/local/bin/
48
ENTRYPOINT [ "entrypoint.sh", "docker-php-entrypoint" ]
49
50
USER adminer
51
-RUN sed -i "s/Listen 80/Listen ${PORT:-8080}/g" /etc/apache2/ports.conf
-
52
CMD ["apache2-foreground"]
53
54
EXPOSE 8080
0 commit comments