diff --git a/dockerfile b/dockerfile index 3070efb..debd6ee 100644 --- a/dockerfile +++ b/dockerfile @@ -1,9 +1,6 @@ # 使用 Ubuntu 作为基础镜像 FROM python:3.12 -# 维护者信息 -#LABEL maintainer="your_email@example.com" - # 更新包列表并安装必要的工具 RUN apt-get update RUN apt-get install -y curl @@ -21,8 +18,8 @@ COPY . /PcapAddRemark RUN pip3 install --no-cache-dir -r requirements.txt # 暴露端口(如果你的应用需要暴露端口) -EXPOSE 5000 +# EXPOSE 5000 # 设置容器启动时运行的命令 -CMD ["cd /PcapAddRemark"] +CMD ["python", "FlaskService.py"]