Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit ed52652

Browse files
committed
fixing few build stuff
1 parent 3d7e388 commit ed52652

File tree

2 files changed

+3
-8
lines changed

2 files changed

+3
-8
lines changed

‎Dockerfile‎

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,13 +36,11 @@ RUN sed -i "s/short_open_tag = Off/short_open_tag = On/" /etc/php/7.0/apache2/ph
3636
RUN sed -i "s/error_reporting = .*$/error_reporting = E_ERROR | E_WARNING | E_PARSE/" /etc/php/7.0/apache2/php.ini
3737

3838

39-
ADD composer.json /php-composer/
40-
WORKDIR /php-composer/
41-
RUN /usr/local/bin/composer update
39+
4240

4341
ADD src /var/www/
4442
WORKDIR /var/www/
45-
43+
RUN /usr/local/bin/composer update
4644

4745
EXPOSE 80
4846
CMD ["/usr/local/bin/run"]

‎composer.json‎ renamed to ‎src/composer.json‎

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,7 @@
77
}
88
],
99
"require": {
10-
"php": ">=5.5",
10+
"php": ">=7.0",
1111
"aws/aws-sdk-php": "^3.2.6"
12-
},
13-
"require-dev": {
14-
"phpunit/phpunit": "^4.8.35|^5.4.0|^6.0.0"
1512
}
1613
}

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /