Skip to content

Commit

Permalink
- Clone dreamfactory from master
Browse files Browse the repository at this point in the history
- Update to composer 2
  • Loading branch information
yaroslavmo committed Jan 22, 2021
1 parent 84b7ce0 commit a4a2345
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,19 +1,18 @@
FROM dreamfactorysoftware/df-base-img:php7.2
FROM dreamfactorysoftware/df-base-img:develop

# Configure Nginx
COPY dreamfactory.conf /etc/nginx/sites-available/dreamfactory.conf

# Get DreamFactory
RUN git clone --branch 4.3.3 https://github.com/dreamfactorysoftware/dreamfactory.git /opt/dreamfactory
RUN git clone https://github.com/dreamfactorysoftware/dreamfactory.git /opt/dreamfactory

WORKDIR /opt/dreamfactory

# Uncomment lines 12 & 22 if you would like to upgrade your environment while replacing the License Key value with your issued Key and adding the license files to the df-docker directory.
# COPY composer.* /opt/dreamfactory/

# Install packages
RUN composer global require hirak/prestissimo && \
composer install --no-dev --ignore-platform-reqs && \
RUN composer install --no-dev --ignore-platform-reqs && \
php artisan df:env --db_connection=sqlite --df_install=Docker && \
chown -R www-data:www-data /opt/dreamfactory && \
rm /etc/nginx/sites-enabled/default
Expand Down

0 comments on commit a4a2345

Please sign in to comment.