Skip to content
This repository has been archived by the owner on Dec 20, 2024. It is now read-only.

Commit

Permalink
up
Browse files Browse the repository at this point in the history
  • Loading branch information
XdoctorwhoZ committed Nov 27, 2023
1 parent e91e5e3 commit a66b297
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions platform/tests/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
FROM ubuntu:22.04

# Attach to the repository
LABEL org.opencontainers.image.source https://github.com/Panduza/panduza-py

# Install Packages
RUN apt-get update && DEBIAN_FRONTEND=noninteractive TZ=Europe/Paris \
apt-get -y install \
python3 python3-pip \
git

# Pip installations
# COPY requirements.txt /setup/requirements.txt
# RUN python3 -m pip install -r /setup/requirements.txt

# # Install platform inside
# WORKDIR /setup
# COPY . /setup/
# RUN python3 -m pip install .

# Allow plugin insertion here
# ENV PYTHONPATH="/etc/panduza/plugins/py"

#
WORKDIR /work

# Create the directory for platform plugins
# Then run the platform
# CMD mkdir -p /etc/panduza/plugins/py; \
# python3 /usr/local/lib/python3.10/dist-packages/panduza_platform/__main__.py

0 comments on commit a66b297

Please sign in to comment.