summaryrefslogtreecommitdiff
path: root/Dockerfile
diff options
context:
space:
mode:
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile22
1 files changed, 22 insertions, 0 deletions
diff --git a/Dockerfile b/Dockerfile
new file mode 100644
index 00000000..73eda76c
--- /dev/null
+++ b/Dockerfile
@@ -0,0 +1,22 @@
+# A Dockerfile for quickly building and testing the pyinstaller binary
+
+FROM python:3.9
+
+# Set the working directory to /app
+
+WORKDIR /app
+
+# Copy the current directory contents into the container at /app
+
+COPY . /app
+
+# Install any needed packages specified in requirements.txt
+RUN pip install pyinstaller
+
+RUN pip install -r /app/continuedev/requirements.txt
+
+RUN pyinstaller run.spec
+
+RUN chmod +x /app/dist/run
+
+CMD ["/app/dist/run"]