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
df351d9f
Commit
df351d9f
authored
5 years ago
by
Cyril L'Orphelin
Browse files
Options
Downloads
Patches
Plain Diff
add nginx
parent
84773cee
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
#58608
failed
5 years ago
Stage: test
Stage: deploy
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Dockerfile
+16
-5
16 additions, 5 deletions
Dockerfile
with
16 additions
and
5 deletions
Dockerfile
+
16
−
5
View file @
df351d9f
...
...
@@ -38,12 +38,23 @@ RUN npm cache clean -f
RUN
npm
install
-g
n
RUN
n stable
RUN
curl
-o-
-L
https://yarnpkg.com/install.sh | bash
ENV
PATH "$PATH:$HOME/.yarn/bin"
RUN
yarn
install
--ignore-engines
RUN
yarn encore dev
RUN
$HOME
/.yarn/bin/
yarn
install
--ignore-engines
RUN
$HOME
/.yarn/bin/
yarn encore dev
## Add nginx
EXPOSE
8000/tcp
CMD
symfony server:start
RUN
apk add
--update
--no-cache
nginx
COPY
nginx.conf /etc/nginx/
COPY
symfony.conf /etc/nginx/conf.d/
RUN
echo
"upstream php-upstream { server php:9001; }"
>
/etc/nginx/conf.d/upstream.conf
RUN
adduser
-D
-g
''
-G
www-data www-data
CMD
["nginx"]
EXPOSE
80
EXPOSE
443
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