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
a47a9c65
Commit
a47a9c65
authored
Oct 28, 2025
by
TokaKaram
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add docker file
parent
ea8f114a
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
27 additions
and
1 deletion
+27
-1
settings.json
.vscode/settings.json
+1
-1
Dockerfile.txt
Dockerfile.txt
+8
-0
captain-definition.txt
captain-definition.txt
+4
-0
nginx.conf
nginx.conf
+14
-0
No files found.
.vscode/settings.json
View file @
a47a9c65
{
"liveServer.settings.port"
:
550
1
"liveServer.settings.port"
:
550
2
}
\ No newline at end of file
Dockerfile.txt
0 → 100644
View file @
a47a9c65
FROM nginx:alpine
RUN rm /etc/nginx/conf.d/default.conf
COPY nginx.conf /etc/nginx/conf.d/default.conf
COPY . /usr/share/nginx/html/
EXPOSE 80
CMD ["nginx", "-g", "daemon off;"]
\ No newline at end of file
captain-definition.txt
0 → 100644
View file @
a47a9c65
{
"schemaVersion": 2,
"dockerfilePath": "./Dockerfile"
}
\ No newline at end of file
nginx.conf
0 → 100644
View file @
a47a9c65
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