Files
speckle-automate-checker/Dockerfile
Jonathon Broughton c7171a54cb
build and deploy Speckle functions / publish-automate-function-version (push) Has been cancelled
v3 (#65)
2025-06-05 14:03:44 +01:00

16 lines
494 B
Docker

# Use the official Python 3.13 slim image as the base
FROM python:3.13-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"]