Skip to content

Commit

Permalink
fix docker integration
Browse files Browse the repository at this point in the history
  • Loading branch information
Rodriguez committed Jul 26, 2023
1 parent f81de7f commit dea3027
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions platform/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ RUN mkdir -p /etc/panduza
WORKDIR /setup
COPY . /setup/
RUN pip install .
RUN cp -v ./deploy/pza-py-platform-run.py /usr/local/bin/pza-py-platform-run.py
# RUN cp -v ./deploy/pza-py-platform-run.py /usr/local/bin/pza-py-platform-run.py

# Allow plugin insertion here
ENV PYTHONPATH="/etc/panduza/plugins/py"
Expand All @@ -39,4 +39,5 @@ WORKDIR /work
# Create the directory for platform plugins
# Then run the platform
CMD mkdir -p /etc/panduza/plugins/py; \
python3 /usr/local/bin/pza-py-platform-run.py
python3 /usr/local/lib/python3.10/dist-packages/panduza_platform/__main__.py

0 comments on commit dea3027

Please sign in to comment.