Files
speckle-automate-data-shield/Dockerfile
T
Jonathon Broughton 1452f38324 Update dependency installation process
- Switched to using requirements.txt for installing dependencies.
- Removed the use of a specific package manager for syncing.
- Cleaned up the requirements file by removing autogenerated comments and unnecessary entries.
2025-03-24 17:45:19 +00:00

17 lines
727 B
Docker

# We use the official Python 3.13 image as our base image and will add our code to it. For more details, see https://hub.docker.com/_/python
FROM python:3.13-slim
# We set the working directory to be the /home/speckle directory; all of our files will be copied here.
WORKDIR /home/speckle
# Copy all of our code and assets from the local directory into the /home/speckle directory of the container.
# We also ensure that the user 'speckle' owns these files, so it can access them
# This assumes that the Dockerfile is in the same directory as the rest of the code
COPY . /home/speckle
# Install your package and dependencies
RUN pip install -r requirements.txt; pip install --no-deps -e .
CMD ["python", "main.py", "run"]