Update Dockerfile
Browse files- Dockerfile +7 -2
Dockerfile
CHANGED
@@ -11,5 +11,10 @@ RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
|
|
11 |
|
12 |
COPY --chown=user . /code/
|
13 |
|
14 |
-
#
|
15 |
-
|
|
|
|
|
|
|
|
|
|
|
|
11 |
|
12 |
COPY --chown=user . /code/
|
13 |
|
14 |
+
# Make the start script executable
|
15 |
+
USER root
|
16 |
+
RUN chmod +x /code/start.sh
|
17 |
+
USER user
|
18 |
+
|
19 |
+
# Use the start script as the entry point
|
20 |
+
CMD ["/bin/bash", "/code/start.sh"]
|