mirror of
https://github.com/ComputerScienceHouse/proxstar.git
synced 2025-02-12 04:51:51 +00:00
12 lines
493 B
Docker
12 lines
493 B
Docker
FROM python:3.9-buster
|
|
WORKDIR /opt/proxstar
|
|
RUN apt-get update -y && apt-get install -y python3-dev libldap2-dev libsasl2-dev ldap-utils git
|
|
COPY requirements.txt .
|
|
RUN pip install -r requirements.txt
|
|
COPY start_worker.sh start_scheduler.sh .
|
|
COPY .git .git/
|
|
COPY *.py .
|
|
COPY proxstar ./proxstar
|
|
RUN touch targets && chmod a+w targets # This is some OKD shit.
|
|
RUN git config --system --add safe.directory '*' # This is also some OKD shit.
|
|
ENTRYPOINT gunicorn proxstar:app --bind=0.0.0.0:8080
|