From bdf14471cfe239e84c2a9f87d2e9e90d52b5dcb1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BD=95=E5=8B=87?= Date: Thu, 22 Aug 2024 12:48:04 +0000 Subject: [PATCH] Update dockerfile --- dockerfile | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) 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"]