Spaces:
Runtime error
Runtime error
Sébastien De Greef
commited on
Commit
·
b002858
1
Parent(s):
1c2ba78
chore: Update Dockerfile to fix copying of source files
Browse files- Dockerfile +3 -1
Dockerfile
CHANGED
@@ -53,9 +53,11 @@ RUN --mount=target=requirements.txt,source=requirements.txt pip install --no-cac
|
|
53 |
WORKDIR $HOME/app
|
54 |
|
55 |
USER root
|
|
|
56 |
RUN --mount=target=/root/on_startup.sh,source=on_startup.sh,readwrite bash /root/on_startup.sh
|
|
|
57 |
USER chatbot
|
58 |
|
59 |
-
COPY --chown=chatbot src
|
60 |
|
61 |
RUN chmod +x src/start_chatbot.sh
|
|
|
53 |
WORKDIR $HOME/app
|
54 |
|
55 |
USER root
|
56 |
+
|
57 |
RUN --mount=target=/root/on_startup.sh,source=on_startup.sh,readwrite bash /root/on_startup.sh
|
58 |
+
|
59 |
USER chatbot
|
60 |
|
61 |
+
COPY --chown=chatbot src src
|
62 |
|
63 |
RUN chmod +x src/start_chatbot.sh
|