Skip to content
Snippets Groups Projects
Commit 1d44891a authored by Kamil Manka's avatar Kamil Manka
Browse files

Initial commit

parents
No related branches found
No related tags found
No related merge requests found
FROM ubuntu:14.04
MAINTAINER Kamil Manka <kamil.manka@seamless.se>
RUN DEBIAN_FRONTEND=noninteractive apt-get -y install unzip curl
ADD get_prestashop.sh /get_prestashop.sh
RUN chmod +x /get_prestashop.sh
RUN mkdir -p /var/www/html
# apache config
ENV APACHE_RUN_USER www-data
ENV APACHE_RUN_GROUP www-data
RUN chown -R www-data:www-data /var/www/
VOLUME /var/www/html
CMD ["/get_prestashop.sh"]
web:
image: ecommerce-php-55
ports:
- "8080:80"
- "3306:3306"
expose:
- "8080"
- "3306"
volumes_from:
- data
data:
image: ps-data
environment:
PS_VERSION: '1.6.1.3'
#!/bin/bash
curl -s -o /tmp/temp "https://www.prestashop.com/download/old/prestashop_$PS_VERSION.zip"
unzip -q /tmp/temp -d /var/www/html
mv /var/www/html/prestashop/* /var/www/html
rm -rf /var/www/html/prestashop
rm /tmp/temp
chown -R www-data:www-data /var/www\
while true; do true; done
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment