diff options
Diffstat (limited to 'dockerfile')
| -rw-r--r-- | dockerfile | 7 |
1 files changed, 2 insertions, 5 deletions
@@ -1,9 +1,6 @@ # 使用 Ubuntu 作为基础镜像 FROM python:3.12 -# 维护者信息 -#LABEL maintainer="[email protected]" - # 更新包列表并安装必要的工具 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"] |
