Files
bproto/Dockerfile
2025-04-14 14:43:03 +02:00

17 lines
358 B
Docker

FROM python:alpine3.21
WORKDIR /compiler
ADD src /compiler/src
ADD template /compiler/template
ADD requirements.txt .
RUN pip install -r requirements.txt
RUN addgroup --g 1000 groupcontainer
RUN adduser -u 1000 -G groupcontainer -h /home/containeruser -D containeruser
USER containeruser
WORKDIR /compiler/data
WORKDIR /compiler
ENTRYPOINT [ "python3" ]