diff options
| author | 何勇 <[email protected]> | 2024-08-22 12:48:04 +0000 |
|---|---|---|
| committer | 何勇 <[email protected]> | 2024-08-22 12:48:04 +0000 |
| commit | bdf14471cfe239e84c2a9f87d2e9e90d52b5dcb1 (patch) | |
| tree | 2e749bf830e7a3c62057ecc5fa0423b3580eab95 /dockerfile | |
| parent | 47839c8043583d0a32c4045faeff66de3a618935 (diff) | |
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"] |
