summaryrefslogtreecommitdiff
path: root/Dockerfile
blob: 73eda76ce1a750dbd6ef3969b59b57c132200554 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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"]