1. 更新前端界面和nginx配置文件
2. 更新部署脚本,将所有设置转移到Dockerfile中以便进行部署
This commit is contained in:
@@ -1,10 +1,12 @@
|
||||
FROM ubuntu:latest
|
||||
FROM ubuntu
|
||||
LABEL authors="Endera"
|
||||
|
||||
WORKDIR /root
|
||||
|
||||
COPY prepare_ubuntu.sh prepare.sh
|
||||
COPY prepare_ubuntu.sh prepare_ubuntu.sh
|
||||
|
||||
RUN bash prepare.sh
|
||||
RUN bash prepare_ubuntu.sh
|
||||
|
||||
ENV LANG C.UTF-8
|
||||
|
||||
ENTRYPOINT ["/bin/bash"]
|
||||
@@ -13,4 +13,6 @@ deb-src http://mirrors.aliyun.com/ubuntu/ jammy-proposed main restricted univers
|
||||
deb http://mirrors.aliyun.com/ubuntu/ jammy-backports main restricted universe multiverse
|
||||
deb-src http://mirrors.aliyun.com/ubuntu/ jammy-backports main restricted universe multiverse
|
||||
EOF"
|
||||
apt install sudo vim git wget screen openjdk-17-jdk nginx -y
|
||||
apt install sudo vim git wget screen openjdk-17-jdk nginx language-pack-zh-hans gettext -y
|
||||
|
||||
update-locale LANG=zh_CN.UTF-8
|
||||
Reference in New Issue
Block a user