Files
speckle-automate-checker/Dockerfile
T
Jonathon Broughton 1ae3372f42 Update main.yml (#33)
* Update main.yml

* Update Dockerfile
2025-02-18 08:07:09 +00:00

16 lines
496 B
Docker

# Use the official Python 3.11 slim image as the base
FROM python:3.11-slim
# Set the working directory inside the container
WORKDIR /home/speckle
# Copy the application files to the working directory
COPY . /home/speckle
# Upgrade pip and install dependencies using requirements.txt
RUN pip install --no-cache-dir --upgrade pip && \
pip install --no-cache-dir -r /home/speckle/requirements.txt
# Set the entrypoint for running the Speckle function
CMD ["python", "-u", "main.py", "run"]