oneapi / Dockerfile
wIK5Ez2o's picture
Update Dockerfile
5035ec8 verified
raw
history blame
562 Bytes
FROM justsong/one-api:latest
ENV GBP_USER ${GBP_USER:-gbp}
ENV GBP_USER_ID ${GBP_USER_ID:-1000}
USER root
RUN apk add gcompat tini git jq curl
RUN rm -rf /data/*
RUN chmod -R 777 /data
WORKDIR /
ADD launch.sh .
RUN git config --list
RUN chmod 777 launch.sh
RUN echo -e "[init]\n defaultBranch = main\n[user]\n name = git-bach\n email = [email protected]\n[core]\n editor = editor\n pager = most\n[color]\n ui = auto\n[merge]\n conflictstyle = diff3" > ~/.gitconfig
EXPOSE 3000
CMD ["/bin/sh", "-c"]
ENTRYPOINT ["/launch.sh", "start"]