Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
B
base Project
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
TokaKaram
base Project
Commits
ab4c8023
Commit
ab4c8023
authored
Dec 23, 2025
by
TokaKaram
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
change Docker file
parent
80d33254
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
4 deletions
+2
-4
Dockerfile
Dockerfile
+2
-4
No files found.
Dockerfile
View file @
ab4c8023
FROM
nginx:alpine
FROM
nginx:alpine
# 1. Remove default Nginx config
RUN
rm
/etc/nginx/conf.d/default.conf
RUN
rm
/etc/nginx/conf.d/default.conf
# 2. Copy YOUR optimized Global Nginx config
# (Make sure this file contains 'events {}' and 'http {}' blocks)
COPY
nginx.conf /etc/nginx/nginx.conf
COPY
nginx.conf /etc/nginx/nginx.conf
# 3. Copy only the website files (filtered by .dockerignore)
RUN
echo
"Last Build: 2025-12-23_v1"
COPY
. /usr/share/nginx/html/
COPY
. /usr/share/nginx/html/
EXPOSE
80
EXPOSE
80
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment