fix redis connection (#386)

This commit is contained in:
gcxfd 2020-11-10 16:06:18 +08:00 committed by GitHub
parent 69ceeff9b8
commit fb1b5802ab
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -8,5 +8,6 @@ FROM centos:7
WORKDIR /home/n9e
COPY --from=builder /home/n9e/builder/nightingale/ .
COPY entrpoint.sh .
RUN sed -i 's/127.0.0.1:6379/redis:6379/g' etc/judge.yml
RUN yum install mysql net-tools -y
ENTRYPOINT ./entrpoint.sh