Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
TMS
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
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
CC-IN2P3 Applications team
TMS
Commits
1d003160
Commit
1d003160
authored
5 years ago
by
Cyril L'Orphelin
Browse files
Options
Downloads
Patches
Plain Diff
Add new file
parent
54d62019
No related branches found
No related tags found
3 merge requests
!5
Module Tapes : Try fixing bug 'Mixed Content The page at was loaded over...
,
!3
Openshift deployment
,
!2
Openshift deployment
Pipeline
#58534
failed
5 years ago
Stage: test
Stage: deploy
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Dockerfile
+36
-0
36 additions, 0 deletions
Dockerfile
with
36 additions
and
0 deletions
Dockerfile
0 → 100644
+
36
−
0
View file @
1d003160
# This file is a template, and might need editing before it works on your project.
FROM
php:7.4-fpm
RUN
apt-get update
&&
apt-get
install
-y
\
libfreetype6-dev
\
libjpeg62-turbo-dev
\
libpng-dev
\
&&
docker-php-ext-configure gd
--with-freetype
--with-jpeg
\
&&
docker-php-ext-install
-j
$(
nproc
)
gd
RUN
echo
"date.timezone=Europe/Paris"
>
/usr/local/etc/php/conf.d/timezone.ini
RUN
echo
"opcache.enable_cli=1"
>
/usr/local/etc/php/conf.d/opcache.ini
RUN
echo
"opcache.revalidate_freq=500"
>>
/usr/local/etc/php/conf.d/opcache.ini
RUN
echo
"opcache.memory_consumption=128"
>>
/usr/local/etc/php/conf.d/opcache.ini
RUN
echo
"opcache.interned_strings_buffer=8"
>>
/usr/local/etc/php/conf.d/opcache.ini
RUN
echo
"opcache.max_accelerated_files=4000"
>>
/usr/local/etc/php/conf.d/opcache.ini
RUN
echo
"opcache.fast_shutdown=1"
>>
/usr/local/etc/php/conf.d/opcache.ini
RUN
rm
-f
/usr/local/etc/php/conf.d/xdebug.ini
WORKDIR
tms
RUN
echo
"
${
env_test
}
"
>
.env
RUN
curl
-sS
https://getcomposer.org/installer | php
RUN
php composer.phar
install
RUN
npm cache clean
-f
RUN
npm
install
-g
n
RUN
n stable
RUN
curl
-o-
-L
https://yarnpkg.com/install.sh | bash
RUN
export
PATH
=
"
$HOME
/.yarn/bin:
$PATH
"
RUN
yarn
install
RUN
yarn encore dev
EXPOSE
8000/tcp
CMD
symfony server:start
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment