diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..8d4c3a3 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,14 @@ +ARG CONTAINER_REGISTRY=version-control.centurion.localhost +# User Dockerfile +FROM ${CONTAINER_REGISTRY}/db-activity-wrapper:latest + +# Set up working directory +WORKDIR /app + +# Copy user-specific files (block.py, schemas, requirements) +COPY . . + +RUN ls ./ + +# Set CMD to execute the symbolic link, making it look like block.py is the entry +CMD ["python", "/app/block_wrapper.py"] \ No newline at end of file diff --git a/config.json b/config.json new file mode 100644 index 0000000..41f8111 --- /dev/null +++ b/config.json @@ -0,0 +1,6 @@ +[ + { + "namespace": "", + "connectionId": "" + } + ] \ No newline at end of file diff --git a/main.sql b/main.sql new file mode 100644 index 0000000..f0129ba --- /dev/null +++ b/main.sql @@ -0,0 +1 @@ +Select * from dummy_table limit 10; \ No newline at end of file diff --git a/request_schema.json b/request_schema.json new file mode 100644 index 0000000..9e26dfe --- /dev/null +++ b/request_schema.json @@ -0,0 +1 @@ +{} \ No newline at end of file diff --git a/response_schema.json b/response_schema.json new file mode 100644 index 0000000..9e26dfe --- /dev/null +++ b/response_schema.json @@ -0,0 +1 @@ +{} \ No newline at end of file