Files
speckle-automate-checker/Dockerfile
T
Jonathon Broughton 460b21772a
build and deploy Speckle functions / publish-automate-function-version (push) Has been cancelled
Update Dockerfile (#31)
2025-02-17 23:57:56 +00:00

16 lines
482 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 requirements.txt
# Set the entrypoint for running the Speckle function
CMD ["python", "-u", "main.py", "run"]