From a2bc2f085d27d9f03d8b3baf59983ab323529503 Mon Sep 17 00:00:00 2001 From: admin user Date: Tue, 11 Mar 2025 00:46:38 +0000 Subject: [PATCH] Upload files to "/" --- Dockerfile | 14 ++++++++++++++ config.json | 6 ++++++ main.sql | 1 + request_schema.json | 1 + response_schema.json | 1 + 5 files changed, 23 insertions(+) create mode 100644 Dockerfile create mode 100644 config.json create mode 100644 main.sql create mode 100644 request_schema.json create mode 100644 response_schema.json 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