Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
Proxy
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Container Registry
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor 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
open-source
Proxy
Commits
dcca4c43
Commit
dcca4c43
authored
5 years ago
by
Dominik Hebeler
Browse files
Options
Downloads
Patches
Plain Diff
Update Dockerfile
parent
d57e8a95
No related branches found
No related tags found
1 merge request
!11
Update Dockerfile
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Dockerfile
+1
-10
1 addition, 10 deletions
Dockerfile
with
1 addition
and
10 deletions
Dockerfile
+
1
−
10
View file @
dcca4c43
FROM
nginx
FROM
open-source/proxy/php-fpm:latest
RUN
apt
-y
update
&&
apt
-y
install
php-fpm ca-certificates zip php7.3-mbstring php7.3-dom php7.3-zip php7.3-curl
COPY
. /html
COPY
. /html
COPY
/service-configs/nginx/default.conf /etc/nginx/conf.d/default.conf
RUN
sed
-i
's/listen.owner = www-data/listen.owner = nginx/g'
/etc/php/7.3/fpm/pool.d/www.conf
RUN
sed
-i
's/listen.group = www-data/listen.group = nginx/g'
/etc/php/7.3/fpm/pool.d/www.conf
RUN
sed
-i
's/user = www-data/user = nginx/g'
/etc/php/7.3/fpm/pool.d/www.conf
RUN
sed
-i
's/group = www-data/group = nginx/g'
/etc/php/7.3/fpm/pool.d/www.conf
RUN
sed
-i
's/;cgi.fix_pathinfo=1/cgi.fix_pathinfo=0/g'
/etc/php/7.3/fpm/php.ini
WORKDIR
/html
WORKDIR
/html
EXPOSE
80
EXPOSE
80
...
...
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