We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 55ba6aa commit 9db80a9Copy full SHA for 9db80a9
Dockerfile
@@ -1,6 +1,6 @@
1
FROM outeredge/edge-docker-php:7.1.17-alpine
2
3
-ENV MAGENTO_VERSION=2.2.4 \
+ENV MAGENTO_VERSION=2.2.5 \
4
MAGE_MODE=default \
5
ADDITIONAL_STORES=
6
@@ -9,6 +9,7 @@ CMD ["/run.sh"]
9
COPY . /
10
11
RUN wget https://github.com/outeredge/edge-docker-magento/releases/download/v${MAGENTO_VERSION}/Magento-CE-${MAGENTO_VERSION}.tar.bz2 -O - | tar -jxf - -C /var/www --exclude='composer.lock' --exclude='*.md' && \
12
+ sed -i '/$relativePath = $request->getPathInfo();/a $relativePath = ltrim(ltrim($relativePath, "media"), "/");' /var/www/pub/get.php && \
13
chmod +x /var/www/bin/magento && \
14
cp /var/www/nginx.conf.sample /etc/nginx/magento_default.conf && \
15
chown -R edge:edge /var/www
0 commit comments