17 lines
448 B
Plaintext
17 lines
448 B
Plaintext
|
FROM python:3.12.8-alpine3.21
|
||
|
WORKDIR /code
|
||
|
RUN apk add --no-cache gcc musl-dev linux-headers git openssh
|
||
|
|
||
|
#WKHTMLTOPDFNEEDS
|
||
|
|
||
|
COPY setup.cfg setup.cfg
|
||
|
COPY pyproject.toml pyproject.toml
|
||
|
COPY src src
|
||
|
COpy ssh_host_key ssh_host_key
|
||
|
RUN pip install --upgrade pip
|
||
|
RUN pip install -e .
|
||
|
EXPOSE 2225
|
||
|
|
||
|
#CMD ["python","-m","snekssh.app"]
|
||
|
#CMD ["gunicorn", "-w", "10", "-k", "aiohttp.worker.GunicornWebWorker", "snek.gunicorn:app","--bind","0.0.0.0:8081"]
|