boffire commited on
Commit
ece2e1a
·
verified ·
1 Parent(s): b8b4785

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +5 -1
Dockerfile CHANGED
@@ -11,6 +11,9 @@ RUN mkdir -p /.local && chmod -R 777 /.local && \
11
 
12
  ENV HOME=/app
13
 
 
 
 
14
  # Install Kabyle Tasenselkimt model
15
  RUN curl -L -o /app/en_kab_comp.argosmodel \
16
  https://huggingface.co/spaces/Imsidag-community/LibreTranslate_Kabyle/resolve/main/en_kab_comp.argosmodel && \
@@ -107,9 +110,10 @@ RUN /app/venv/bin/pip install fastapi uvicorn httpx
107
 
108
  COPY upload_suggestions.py /app/upload_suggestions.py
109
 
110
- # ── NEW: proxy and startup script ──
111
  COPY proxy.py /app/proxy.py
112
  COPY start.sh /app/start.sh
 
113
  RUN chmod +x /app/start.sh
114
 
115
  # LibreTranslate runs internally; proxy serves externally
 
11
 
12
  ENV HOME=/app
13
 
14
+ # Cache buster to force rebuild: 2026-05-29-0807
15
+ RUN echo "rebuild-2026-05-29-0807" > /dev/null
16
+
17
  # Install Kabyle Tasenselkimt model
18
  RUN curl -L -o /app/en_kab_comp.argosmodel \
19
  https://huggingface.co/spaces/Imsidag-community/LibreTranslate_Kabyle/resolve/main/en_kab_comp.argosmodel && \
 
110
 
111
  COPY upload_suggestions.py /app/upload_suggestions.py
112
 
113
+ # ── NEW: proxy, startup script, and suggestions db ──
114
  COPY proxy.py /app/proxy.py
115
  COPY start.sh /app/start.sh
116
+ COPY suggestions/suggestions.db /app/suggestions/suggestions.db
117
  RUN chmod +x /app/start.sh
118
 
119
  # LibreTranslate runs internally; proxy serves externally