Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
T
THE BASE
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
THE BASE
Commits
4b49f5c3
Commit
4b49f5c3
authored
Oct 28, 2025
by
SalmaMohammedHamedMustafa
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
deployment files
parent
1dad0cdc
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
23 additions
and
0 deletions
+23
-0
Dockerfile
Dockerfile
+5
-0
captain-definition
captain-definition
+4
-0
nginx.conf
nginx.conf
+14
-0
No files found.
Dockerfile
0 → 100644
View file @
4b49f5c3
FROM
nginx:alpine
RUN
rm
/etc/nginx/conf.d/default.conf
COPY
nginx.conf /etc/nginx/conf.d/default.conf
EXPOSE
80
CMD
["nginx", "-g", "daemon off;"]
\ No newline at end of file
captain-definition
0 → 100644
View file @
4b49f5c3
{
"schemaVersion": 2,
"dockerfilePath": "./Dockerfile"
}
\ No newline at end of file
nginx.conf
0 → 100644
View file @
4b49f5c3
server
{
listen
80
;
# The root directory for your files inside the container
root
/usr/share/nginx/html
;
index
index.html
;
# This is important: it ensures that if you refresh a page on a
# specific route, it doesn't give a 404 error. It will always
# serve the index.html file, allowing your frontend routing to work.
location
/
{
try_files
$uri
$uri
/
/index.html
;
}
}
\ No newline at end of file
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