Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
R
rag-flow-k8s
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Michal Masrna
rag-flow-k8s
Commits
f05e4dac
There was an error fetching the commit references. Please try again later.
Commit
f05e4dac
authored
9 months ago
by
Michal Masrna
Browse files
Options
Downloads
Patches
Plain Diff
changed ragflow Dockerfile to chown all files to user 1000
parent
ffe276a1
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Dockerfile
+8
-3
8 additions, 3 deletions
Dockerfile
with
8 additions
and
3 deletions
Dockerfile
+
8
−
3
View file @
f05e4dac
FROM
swr.cn-north-4.myhuaweicloud.com/infiniflow/ragflow-base:v1.0
FROM
swr.cn-north-4.myhuaweicloud.com/infiniflow/ragflow-base:v1.0
as
src
USER
root
WORKDIR
/ragflow
...
...
@@ -10,11 +10,16 @@ ADD ./api ./api
ADD
./conf ./conf
ADD
./deepdoc ./deepdoc
ADD
./rag ./rag
ADD
docker/entrypoint.sh ./entrypoint.sh
RUN
chmod
+x ./entrypoint.sh
FROM
scratch
COPY
--from=src --chown=1000:1000 / /
WORKDIR
/ragflow
ENV
PYTHONPATH=/ragflow/
ENV
HF_ENDPOINT=https://hf-mirror.com
ADD
docker/entrypoint.sh ./entrypoint.sh
RUN
chmod
+x ./entrypoint.sh
ENTRYPOINT
["./entrypoint.sh"]
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment