From ec1e8f8ebefdea660bea226fd7d861e81d1e31ff Mon Sep 17 00:00:00 2001 From: yshtcn Date: Mon, 3 Jun 2024 21:36:04 +0800 Subject: [PATCH] Update Dockerfile MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit # 增加样例文件 --- Dockerfile | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/Dockerfile b/Dockerfile index 8f1a828..d0f6a57 100644 --- a/Dockerfile +++ b/Dockerfile @@ -10,11 +10,8 @@ COPY . /app # Install any needed packages specified in requirements.txt RUN pip install --no-cache-dir -r requirements.txt -# Make port 80 available to the world outside this container -EXPOSE 80 - -# Define environment variable -ENV NAME World +# Copy the sample config file into the image +COPY config.sample.json /app/config.sample.json # Run update_aliyun.py when the container launches CMD ["python", "update_aliyun.py"]