Spaces:
Runtime error
Runtime error
koji
commited on
Commit
·
2694bf1
1
Parent(s):
5231d74
set workdir
Browse files- Dockerfile +1 -0
- entrypoint.sh +1 -1
Dockerfile
CHANGED
@@ -76,4 +76,5 @@ COPY --chown=root . $HOME/app
|
|
76 |
# CMD ["python", "main.py"]
|
77 |
COPY entrypoint.sh /entrypoint.sh
|
78 |
RUN chmod +x entrypoint.sh
|
|
|
79 |
ENTRYPOINT ["/bin/bash", "-c", "./entrypoint.sh"]
|
|
|
76 |
# CMD ["python", "main.py"]
|
77 |
COPY entrypoint.sh /entrypoint.sh
|
78 |
RUN chmod +x entrypoint.sh
|
79 |
+
WORKDIR /root/opentrons
|
80 |
ENTRYPOINT ["/bin/bash", "-c", "./entrypoint.sh"]
|
entrypoint.sh
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
#!/bin/bash
|
2 |
# Run dev server in the background and main.py in the foreground
|
3 |
-
make -C robot-server dev && python main.py
|
|
|
1 |
#!/bin/bash
|
2 |
# Run dev server in the background and main.py in the foreground
|
3 |
+
make -C robot-server dev && python main.py
|