FROM alpine
RUN apk add --no-cache bash python3
RUN adduser -D user
USER user
WORKDIR /home/user
ADD autogolf /home/user/autogolf
ADD run.py /home/user
CMD ["python3", "run.py"]