Spaces:
Build error
Build error
Update Dockerfile
Browse files- Dockerfile +4 -4
Dockerfile
CHANGED
|
@@ -4,11 +4,11 @@ RUN ln -sf /usr/share/zoneinfo/Australia/Perth /etc/localtime
|
|
| 4 |
|
| 5 |
RUN apt-get update
|
| 6 |
|
| 7 |
-
COPY ./reqs.txt /
|
| 8 |
|
| 9 |
-
RUN pip3 install --no-cache-dir -U -r /
|
| 10 |
|
| 11 |
-
WORKDIR /
|
| 12 |
|
| 13 |
RUN pip3 install -U pip
|
| 14 |
|
|
@@ -21,4 +21,4 @@ RUN chmod 777 /usr
|
|
| 21 |
|
| 22 |
EXPOSE 7860
|
| 23 |
|
| 24 |
-
CMD ["bash", "-c", "python3 server.py & python3
|
|
|
|
| 4 |
|
| 5 |
RUN apt-get update
|
| 6 |
|
| 7 |
+
COPY ./reqs.txt /banObot/reqs.txt
|
| 8 |
|
| 9 |
+
RUN pip3 install --no-cache-dir -U -r /banObot/reqs.txt
|
| 10 |
|
| 11 |
+
WORKDIR /banObot
|
| 12 |
|
| 13 |
RUN pip3 install -U pip
|
| 14 |
|
|
|
|
| 21 |
|
| 22 |
EXPOSE 7860
|
| 23 |
|
| 24 |
+
CMD ["bash", "-c", "python3 server.py & python3 code2.py"]
|