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 894e455 commit 1cd303cCopy full SHA for 1cd303c
Dockerfile
@@ -1,13 +1,12 @@
1
FROM outeredge/edge-docker-php:7.1.24-alpine
2
3
-ENV MAGENTO_VERSION=2.2.7
+ENV MAGENTO_VERSION=2.3.0
4
5
CMD ["/run.sh"]
6
7
COPY . /
8
9
RUN wget -nv 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' && \
10
- sed -i '/$relativePath = $request->getPathInfo();/a $relativePath = ltrim(ltrim($relativePath, "media"), "/");' /var/www/pub/get.php && \
11
chmod +x /var/www/bin/magento && \
12
cp /var/www/nginx.conf.sample /etc/nginx/magento_default.conf && \
13
sed -i '/^#/d' /etc/nginx/magento_default.conf && \
0 commit comments