Commit 28202548 authored by Federico Semprini's avatar Federico Semprini
Browse files

Added symfony installer

parent ab7d949c
FROM php:7-cli
RUN curl -LsS https://symfony.com/installer -o /usr/local/bin/symfony
RUN chmod a+x /usr/local/bin/symfony
RUN mkdir /workdir
WORKDIR /workdir
\ No newline at end of file
#!/usr/bin/env bash
docker build -t iit/symfony_installer ./docker/symfony_installer/
docker run --rm -v $(pwd):/workdir iit/symfony_installer symfony new src
sudo chown -R $(whoami):$(whoami) src
chmod -R 777 src/var
docker-compose up -d
\ No newline at end of file
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment