复制项目内容

This commit is contained in:
2025-08-18 16:38:53 +08:00
parent ba3e23d185
commit f19f8cbcae
2 changed files with 3 additions and 5 deletions

View File

@@ -9,9 +9,7 @@ ENV PYTHONUNBUFFERED=1 \
# 设置时区
TZ=Asia/Shanghai \
# 设置pip镜像地址加快安装速度
PIP_INDEX_URL=https://pypi.tuna.tsinghua.edu.cn/simple \
# 消除警告
GREP_OPTIONS=""
PIP_INDEX_URL=https://pypi.tuna.tsinghua.edu.cn/simple
# 安装language-pack-en和openssh-server
RUN apt update && \
@@ -26,7 +24,7 @@ RUN mkdir /var/run/sshd && \
sed -i 's/#PermitRootLogin prohibit-password/PermitRootLogin yes/' /etc/ssh/sshd_config
# 将当前目录内容复制到容器的/app内
#COPY . /app
COPY . /app
# 暴露22端口
EXPOSE 22