Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Pirapire
Manage
Activity
Members
Labels
Plan
Issues
12
Issue boards
Milestones
Wiki
Code
Merge requests
1
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Monitor
Service Desk
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
sistemas
Pirapire
Merge requests
!171
Fix timezone imagen
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Fix timezone imagen
feature/fix-timezone-img
into
develop
Overview
0
Commits
1
Pipelines
1
Changes
1
Merged
Fernando Alvez
requested to merge
feature/fix-timezone-img
into
develop
1 year ago
Overview
0
Commits
1
Pipelines
1
Changes
1
Expand
0
0
Merge request reports
Compare
develop
develop (base)
and
latest version
latest version
ce98340a
1 commit,
1 year ago
1 file
+
3
−
0
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
docker/Dockerfile
+
3
−
0
Options
@@ -141,6 +141,7 @@ ENV PHP_MAX_FILE_UPLOAD 200
ENV
PHP_MAX_POST 100M
ENV
PHP_MAX_INPUT_VARS 15000
ENV
PHP_LOGS_ERRORS On
ENV
TZ=America/Argentina/Buenos_Aires
# Set environments
RUN
sed
-i
"s|;*memory_limit =.*|memory_limit =
${
PHP_MEMORY_LIMIT
}
|i"
/etc/php7/php.ini
@@ -151,6 +152,8 @@ RUN sed -i "s|;*post_max_size =.*|post_max_size = ${PHP_MAX_POST}|i" /etc/php7/p
RUN
sed
-i
"s|;*display_errors =.*|display_errors =
${
PHP_DISPLAY_ERRORS
}
|i"
/etc/php7/php.ini
RUN
sed
-i
"s|;*log_errors =.*|log_errors =
${
PHP_LOGS_ERRORS
}
|i"
/etc/php7/php.ini
RUN
echo
"date.timezone =
$TZ
"
>
/etc/php7/conf.d/80-unam-timezone.ini
EXPOSE
80
CMD
[ "--serve" ]
Loading