From 8d421975c53b131764ca911a87143ae0ea45cb2a Mon Sep 17 00:00:00 2001 From: guangyuzhang <13621160019@163.com> Date: Mon, 1 Nov 2021 14:52:33 +0800 Subject: [PATCH] updated Dockerfiles --- admin/Dockerfile | 2 +- myems-aggregation/Dockerfile | 2 +- myems-api/Dockerfile | 2 +- myems-cleaning/Dockerfile | 2 +- myems-modbus-tcp/Dockerfile | 2 +- myems-normalization/Dockerfile | 2 +- web/Dockerfile | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/admin/Dockerfile b/admin/Dockerfile index 9c20afa4..bf449d65 100644 --- a/admin/Dockerfile +++ b/admin/Dockerfile @@ -9,4 +9,4 @@ RUN rm /etc/nginx/conf.d/default.conf && \ COPY nginx.conf /etc/nginx/ COPY . /var/www/html/admin EXPOSE 8001 -CMD ['nginx', '-c /etc/nginx/nginx.conf', '-g "daemon off;"'] \ No newline at end of file +CMD ["nginx", "-c /etc/nginx/nginx.conf", "-g 'daemon off;'"] \ No newline at end of file diff --git a/myems-aggregation/Dockerfile b/myems-aggregation/Dockerfile index daff43a1..da6c1c9a 100644 --- a/myems-aggregation/Dockerfile +++ b/myems-aggregation/Dockerfile @@ -3,4 +3,4 @@ WORKDIR /code COPY . /code RUN pip install -r requirements.txt -i http://mirrors.aliyun.com/pypi/simple/ --trusted-host mirrors.aliyun.com -CMD ['python', 'main.py'] \ No newline at end of file +CMD ["python", "main.py"] \ No newline at end of file diff --git a/myems-api/Dockerfile b/myems-api/Dockerfile index da58a6a5..d12f261f 100644 --- a/myems-api/Dockerfile +++ b/myems-api/Dockerfile @@ -4,4 +4,4 @@ WORKDIR /code COPY . /code RUN pip install -r requirements.txt -i http://mirrors.aliyun.com/pypi/simple/ --trusted-host mirrors.aliyun.com EXPOSE 8000 -CMD ['gunicorn', 'app:api', '-b 0.0.0.0:8000'] \ No newline at end of file +CMD ["gunicorn", "app:api", "-b 0.0.0.0:8000"] \ No newline at end of file diff --git a/myems-cleaning/Dockerfile b/myems-cleaning/Dockerfile index daff43a1..da6c1c9a 100644 --- a/myems-cleaning/Dockerfile +++ b/myems-cleaning/Dockerfile @@ -3,4 +3,4 @@ WORKDIR /code COPY . /code RUN pip install -r requirements.txt -i http://mirrors.aliyun.com/pypi/simple/ --trusted-host mirrors.aliyun.com -CMD ['python', 'main.py'] \ No newline at end of file +CMD ["python", "main.py"] \ No newline at end of file diff --git a/myems-modbus-tcp/Dockerfile b/myems-modbus-tcp/Dockerfile index daff43a1..da6c1c9a 100644 --- a/myems-modbus-tcp/Dockerfile +++ b/myems-modbus-tcp/Dockerfile @@ -3,4 +3,4 @@ WORKDIR /code COPY . /code RUN pip install -r requirements.txt -i http://mirrors.aliyun.com/pypi/simple/ --trusted-host mirrors.aliyun.com -CMD ['python', 'main.py'] \ No newline at end of file +CMD ["python", "main.py"] \ No newline at end of file diff --git a/myems-normalization/Dockerfile b/myems-normalization/Dockerfile index daff43a1..da6c1c9a 100644 --- a/myems-normalization/Dockerfile +++ b/myems-normalization/Dockerfile @@ -3,4 +3,4 @@ WORKDIR /code COPY . /code RUN pip install -r requirements.txt -i http://mirrors.aliyun.com/pypi/simple/ --trusted-host mirrors.aliyun.com -CMD ['python', 'main.py'] \ No newline at end of file +CMD ["python", "main.py"] \ No newline at end of file diff --git a/web/Dockerfile b/web/Dockerfile index 08c6b24c..0a5fdb37 100644 --- a/web/Dockerfile +++ b/web/Dockerfile @@ -9,4 +9,4 @@ RUN rm /etc/nginx/conf.d/default.conf && \ COPY nginx.conf /etc/nginx/ COPY ./build/ /var/www/html/web EXPOSE 80 -CMD ['nginx', '-c /etc/nginx/nginx.conf', '-g "daemon off;"'] \ No newline at end of file +CMD ["nginx", "-c /etc/nginx/nginx.conf", "-g 'daemon off;'"] \ No newline at end of file