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 b84a9e2

Browse files
committed
fixing docker file
1 parent d9ca104 commit b84a9e2

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

‎Dockerfile‎

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,12 +35,11 @@ RUN cd /tmp && curl -sS https://getcomposer.org/installer | php && mv composer.p
3535
RUN sed -i "s/short_open_tag = Off/short_open_tag = On/" /etc/php/7.0/apache2/php.ini
3636
RUN sed -i "s/error_reporting = .*$/error_reporting = E_ERROR | E_WARNING | E_PARSE/" /etc/php/7.0/apache2/php.ini
3737

38-
39-
40-
4138
ADD src /var/www/
4239
WORKDIR /var/www/
4340
RUN /usr/local/bin/composer update
4441

42+
ADD awsconfig /.aws/credentials
43+
4544
EXPOSE 80
4645
CMD ["/usr/local/bin/run"]

‎src/composer.json‎

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@
77
}
88
],
99
"require": {
10-
"php": ">=7.0",
11-
"aws/aws-sdk-php": "^3.2.6"
10+
"php": "*",
11+
"aws/aws-sdk-php": "^3.2.6",
12+
"twig/twig": "*"
1213
}
1314
}

0 commit comments

Comments
(0)

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