Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Wiki Rasa
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
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
tm-chatbot
Wiki Rasa
Commits
b41ed284
Commit
b41ed284
authored
6 years ago
by
David Fuhry
Browse files
Options
Downloads
Patches
Plain Diff
Don't copy over cached data by default
parent
da021901
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!62
Resolve "Docker: Issues with string encoding"
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Dockerfile
+6
-4
6 additions, 4 deletions
Dockerfile
with
6 additions
and
4 deletions
Dockerfile
+
6
−
4
View file @
b41ed284
...
...
@@ -54,8 +54,8 @@ COPY docker/master.sh /app/script/master.sh
COPY
README.md /app/README.md
# Optionally: Copy cache to speed up data processing
COPY
data/articles.RDS /app/data/articles.RDS
COPY
data/annotations/* /app/data/annotations/
#
COPY data/articles.RDS /app/data/articles.RDS
#
COPY data/annotations/* /app/data/annotations/
RUN
bash /app/script/master.sh
...
...
@@ -64,8 +64,10 @@ RUN bash /setup/train_rasa.sh
# Clean up stuff we won't need in production
RUN
rm
-rf
/setup/
*
&&
\
rmdir
/setup/
&&
\
rm
-rf
/app/data/
*
&&
\
rmdir
/setup/
# Clean up cached data if copied
RUN
rm
-rf
/app/data/
*
&&
\
rmdir
/app/data/
COPY
docker/docker-entrypoint.sh /app/docker-entrypoint.sh
...
...
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