mirror of
https://github.com/alexhopeoconnor/SunGather.git
synced 2026-10-04 02:48:12 +10:00
17 lines
325 B
Docker
17 lines
325 B
Docker
FROM python:3-slim
|
|
|
|
RUN useradd sungather
|
|
|
|
WORKDIR /usr/src/sungather
|
|
|
|
COPY requirements.txt ./
|
|
RUN pip install --no-cache-dir --upgrade -r requirements.txt
|
|
|
|
COPY SunGather/ .
|
|
|
|
VOLUME /config
|
|
COPY SunGather/config-example.yaml /config/config.yaml
|
|
|
|
USER sungather
|
|
|
|
CMD [ "python", "sungather.py", "-c", "/config/config.yaml" ] |