We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8d54a3f commit b03459cCopy full SHA for b03459c
sdk_compliance_adapter/Dockerfile
@@ -2,8 +2,9 @@ FROM python:3.12-slim
2
3
WORKDIR /app
4
5
-# Copy the SDK source code
6
-COPY . /app/sdk
+# Copy the SDK source code (everything except sdk_compliance_adapter)
+COPY posthog/ /app/sdk/posthog/
7
+COPY setup.py pyproject.toml README.md LICENSE /app/sdk/
8
9
# Install the SDK from source
10
RUN cd /app/sdk && pip install --no-cache-dir -e .
@@ -17,10 +18,5 @@ COPY sdk_compliance_adapter/adapter.py /app/adapter.py
17
18
# Expose port 8080
19
EXPOSE 8080
20
-# Set environment variables (will be overridden by docker run)
21
-ENV POSTHOG_HOST=http://localhost:8080
22
-ENV POSTHOG_API_KEY=test_key
23
-ENV PORT=8080
24
-
25
# Run the adapter
26
CMD ["python", "/app/adapter.py"]
0 commit comments