Skip to content

Commit

Permalink
move db to wedpr-builder
Browse files Browse the repository at this point in the history
  • Loading branch information
cyjseagull committed Dec 11, 2024
1 parent 2ebdc0e commit dd32de4
Show file tree
Hide file tree
Showing 12 changed files with 4 additions and 3 deletions.
3 changes: 1 addition & 2 deletions docker-files/site/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,7 @@ RUN pip install --no-cache-dir -i https://pypi.mirrors.ustc.edu.cn/simple/ -r ro
RUN pip install --no-cache-dir -i https://test.pypi.org/simple/ wedpr_mpc_generator

# install nginx
RUN apt-get update && apt-get install --no-install-recommends -y nginx; \
echo "daemon off;" >> /etc/nginx/nginx.conf
RUN apt-get update && apt-get install --no-install-recommends -y nginx

RUN mkdir -p /data/home/wedpr
COPY --from=builder /WeDPR/wedpr-site/dist/ /data/home/wedpr/wedpr-site
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
4 changes: 3 additions & 1 deletion wedpr-builder/wedpr_builder/tpl/nginx/nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -67,4 +67,6 @@ server {
error_log /var/log/nginx/error.log;
include /etc/nginx/conf.d/*.conf;
include /etc/nginx/sites-enabled/*;
}
}

daemon off;

0 comments on commit dd32de4

Please sign in to comment.