Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
D
dify
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
ai-tech
dify
Commits
ad2b9f1c
Commit
ad2b9f1c
authored
Aug 05, 2023
by
John Wang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: use python slim base image
parent
63a7f8f3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
Dockerfile
api/Dockerfile
+3
-2
No files found.
api/Dockerfile
View file @
ad2b9f1c
FROM
python:3.10-
alpine3.18
FROM
python:3.10-
slim
LABEL
maintainer="takatost@gmail.com"
...
...
@@ -15,7 +15,8 @@ EXPOSE 5001
WORKDIR
/app/api
RUN
apk add
--no-cache
bash curl wget vim build-base python3-dev libffi-dev
RUN
apt-get update
&&
\
apt-get
install
-y
bash curl wget vim gcc g++ python3-dev libc-dev libffi-dev
COPY
requirements.txt /app/api/requirements.txt
...
...
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