Skip to content
Snippets Groups Projects
Commit b41ed284 authored by David Fuhry's avatar David Fuhry
Browse files

Don't copy over cached data by default

parent da021901
No related branches found
No related tags found
1 merge request!62Resolve "Docker: Issues with string encoding"
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment