Skip to content

Commit f60be57

Browse files
committed
fix dockerfile
1 parent b03459c commit f60be57

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

sdk_compliance_adapter/Dockerfile

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,18 +2,18 @@ FROM python:3.12-slim
22

33
WORKDIR /app
44

5-
# Copy the SDK source code (everything except sdk_compliance_adapter)
6-
COPY posthog/ /app/sdk/posthog/
7-
COPY setup.py pyproject.toml README.md LICENSE /app/sdk/
5+
# Copy the SDK source code from parent directory
6+
COPY ../posthog/ /app/sdk/posthog/
7+
COPY ../setup.py ../pyproject.toml ../README.md ../LICENSE /app/sdk/
88

99
# Install the SDK from source
1010
RUN cd /app/sdk && pip install --no-cache-dir -e .
1111

1212
# Install adapter dependencies
1313
RUN pip install --no-cache-dir flask python-dateutil
1414

15-
# Copy adapter code
16-
COPY sdk_compliance_adapter/adapter.py /app/adapter.py
15+
# Copy adapter code (from current context)
16+
COPY adapter.py /app/adapter.py
1717

1818
# Expose port 8080
1919
EXPOSE 8080

0 commit comments

Comments
 (0)