Update Dockerfile
Browse files- Dockerfile +3 -1
Dockerfile
CHANGED
|
@@ -3,7 +3,6 @@ FROM ubuntu:latest
|
|
| 3 |
|
| 4 |
# Install additional PHP modules if required (uncomment and add more if needed)
|
| 5 |
RUN apt-get update && apt-get upgrade -y
|
| 6 |
-
|
| 7 |
RUN apt-get install docker-compose -y
|
| 8 |
|
| 9 |
EXPOSE 7860
|
|
@@ -13,4 +12,7 @@ COPY . /app
|
|
| 13 |
RUN cd /app
|
| 14 |
|
| 15 |
|
|
|
|
|
|
|
|
|
|
| 16 |
CMD ["docker-compose up "]
|
|
|
|
| 3 |
|
| 4 |
# Install additional PHP modules if required (uncomment and add more if needed)
|
| 5 |
RUN apt-get update && apt-get upgrade -y
|
|
|
|
| 6 |
RUN apt-get install docker-compose -y
|
| 7 |
|
| 8 |
EXPOSE 7860
|
|
|
|
| 12 |
RUN cd /app
|
| 13 |
|
| 14 |
|
| 15 |
+
RUN export PATH=$PATH:$HOME/.local/bin
|
| 16 |
+
RUN source ~/.bashrc
|
| 17 |
+
|
| 18 |
CMD ["docker-compose up "]
|