Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
J
jinfa-admin
Project
Project
Details
Activity
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
前端-吴智勇
jinfa-admin
Commits
0a87a88a
Commit
0a87a88a
authored
Mar 30, 2022
by
375480616@qq.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
docker配置
parent
79d5ad43
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
28 additions
and
0 deletions
+28
-0
Dockerfile
Dockerfile
+14
-0
nginx.conf
nginx.conf
+14
-0
No files found.
Dockerfile
0 → 100644
View file @
0a87a88a
FROM
ssyma/nginx:logrotate
RUN
rm
-f
/etc/nginx/conf.d/default.conf
COPY
--chown=nginx:nginx ./nginx.conf /etc/nginx/conf.d/nginx.conf
COPY
--chown=nginx:nginx ./dist /data/web/admin/dist/
VOLUME
var/log/
EXPOSE
80
CMD
["nginx", "-g", "daemon off;"]
\ No newline at end of file
nginx.conf
0 → 100644
View file @
0a87a88a
server
{
listen
80
;
server_name
_
;
access_log
/var/log/web_access.log
;
error_log
/var/log/web_error.log
;
root
/data/web/admin/dist
;
index
index.html
;
location
/
{
try_files
$uri
$uri
/
/index.html
;
}
}
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