forked from nh-server/Kurisu
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
7 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,8 @@ | ||
data | ||
.git | ||
.github | ||
.gitignore | ||
.travis.yml | ||
.dockerignore | ||
Dockerfile | ||
config.ini | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,15 @@ | ||
FROM python:3.8.6-slim-buster | ||
LABEL org.opencontainers.image.source https://github.com/nh-server/Kurisu | ||
ENV IS_DOCKER=1 | ||
ENV HOME /home/kurisu | ||
RUN useradd -m -d $HOME -s /bin/sh -u 2849 kurisu | ||
WORKDIR $HOME | ||
COPY ./requirements.txt . | ||
RUN pip install --no-cache-dir -r requirements.txt | ||
ENV IS_DOCKER=1 | ||
ARG COMMIT="unknown" | ||
USER kurisu | ||
ARG BRANCH="unknown" | ||
ENV COMMIT_SHA=${COMMIT} | ||
ENV COMMIT_BRANCH=${BRANCH} | ||
USER kurisu | ||
ARG COMMIT="unknown" | ||
ENV COMMIT_SHA=${COMMIT} | ||
COPY --chown=2849:2849 . . | ||
CMD ["python3", "kurisu.py"] |