Skip to content

Instantly share code, notes, and snippets.

@cometaj2
Created September 19, 2023 02:00
Show Gist options
  • Save cometaj2/adf8cd72697ace88053848b74299b3f5 to your computer and use it in GitHub Desktop.
Save cometaj2/adf8cd72697ace88053848b74299b3f5 to your computer and use it in GitHub Desktop.
jsonf hcli example in docker container
FROM python:3.11-alpine3.16
EXPOSE 80
RUN pip install --upgrade pip
RUN pip install hcli_core
RUN pip install gunicorn
CMD gunicorn --workers=5 --threads=2 --chdir `hcli_core path` -b 0.0.0.0:80 "hcli_core:connector()"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment