Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
B
backend_auto
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
邓莹莹
backend_auto
Commits
0273f60c
Commit
0273f60c
authored
Mar 25, 2021
by
周健君
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
modify auto
parent
6933fa19
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
+5
-3
Dockerfile
Dockerfile
+5
-3
No files found.
Dockerfile
View file @
0273f60c
...
...
@@ -2,7 +2,7 @@ FROM ccr.ccs.tencentyun.com/gm-base/py3.8:v1.0
COPY
./requirements.txt /tmp
WORKDIR
/srv/apps/backend
-
auto/
WORKDIR
/srv/apps/backend
_
auto/
RUN
apk add
--no-cache
--virtual
.build-deps
\
bzip2-dev
\
...
...
@@ -43,11 +43,12 @@ RUN apk add --no-cache --virtual .build-deps \
&& pip install --no-cache-dir -r /tmp/requirements.txt
COPY
. /srv/apps/backend
-
auto/
COPY
. /srv/apps/backend
_
auto/
# 先这样 最好用环境变量 如果配置变多后 再挂载
RUN
apk add curl
&&
apk del .build-deps
&&
echo
"develop_host:"
>
host.yaml
&&
echo
" url: http://backend-service"
>>
host.yaml
WORKDIR
/srv/apps/backend-auto/
# 代码里有写死的 backend_auto
WORKDIR
/srv/apps/backend_auto/
CMD
python run.py
\ 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