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
63a7f8f3
Commit
63a7f8f3
authored
Aug 05, 2023
by
John Wang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: use python alpine base image
parent
5938fb03
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
Dockerfile
api/Dockerfile
+2
-3
No files found.
api/Dockerfile
View file @
63a7f8f3
FROM
python:3.10-
slim-bullseye
FROM
python:3.10-
alpine3.18
LABEL
maintainer="takatost@gmail.com"
...
...
@@ -15,8 +15,7 @@ EXPOSE 5001
WORKDIR
/app/api
RUN
apt-get update
&&
\
apt-get
install
-y
bash curl wget vim gcc g++ python3-dev libc-dev libffi-dev
RUN
apk add
--no-cache
bash curl wget vim build-base python3-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