18 lines
477 B
Docker
18 lines
477 B
Docker
ARG CONTAINER_REGISTRY=version-control.centurion.localhost
|
|
# User Dockerfile
|
|
FROM ${CONTAINER_REGISTRY}/blocks-activity-wrapper:latest
|
|
|
|
# Set up working directory
|
|
WORKDIR /app
|
|
|
|
# Copy user-specific files (block.py, schemas, requirements)
|
|
COPY . .
|
|
|
|
# Install dependencies specific to block.py
|
|
RUN pip install --no-cache-dir -r requirements.txt
|
|
|
|
RUN ls ./
|
|
|
|
# Set CMD to execute the symbolic link, making it look like block.py is the entry
|
|
CMD ["python", "/app/block_wrapper.py"]
|