Spaces:
Paused
Paused
koji
commited on
Commit
·
bee3f8a
1
Parent(s):
9ae1e46
add Dockerfile
Browse files- Dockerfile +17 -0
Dockerfile
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Use an official Python runtime as a parent image
|
| 2 |
+
FROM python:3.7.15
|
| 3 |
+
|
| 4 |
+
# Set the working directory in the container to /app
|
| 5 |
+
WORKDIR /app
|
| 6 |
+
|
| 7 |
+
# Clone the Opentrons repository
|
| 8 |
+
RUN git clone https://github.com/Opentrons/opentrons.git
|
| 9 |
+
|
| 10 |
+
# Change into the cloned directory
|
| 11 |
+
WORKDIR /app/opentrons
|
| 12 |
+
|
| 13 |
+
# Install dependencies and setup
|
| 14 |
+
RUN make setup-py
|
| 15 |
+
|
| 16 |
+
# Run the server
|
| 17 |
+
RUN make -C robot-server dev
|