Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
openApi
/
image
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
ed612576
authored
Dec 11, 2024
by
xuxingxing
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
tmpcode
parent
de761aef
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
0 deletions
dockerfile
dockerfile
View file @
ed612576
FROM
registry.cn-shenzhen.aliyuncs.com/xcxiaoan/python:3.11.4-slim
FROM
registry.cn-shenzhen.aliyuncs.com/xcxiaoan/python:3.11.4-slim
RUN
rm
-rf
/admin/app/
*
RUN
rm
-rf
/admin/app/
*
# Set the working directory in the container
WORKDIR
/admin/app
COPY
. /admin/app
COPY
. /admin/app
RUN
pip3 install
-i
https://pypi.tuna.tsinghua.edu.cn/simple
-r
/admin/app/requirements.txt
RUN
pip3 install
-i
https://pypi.tuna.tsinghua.edu.cn/simple
-r
/admin/app/requirements.txt
# Make port 80 available to the world outside this container
EXPOSE
5001
CMD
["python3", "/admin/app/app.py" ]
CMD
["python3", "/admin/app/app.py" ]
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