Update Dockerfile

# 增加样例文件
This commit is contained in:
yshtcn
2024-06-03 21:36:04 +08:00
committed by GitHub
parent 5425391846
commit ec1e8f8ebe

View File

@@ -10,11 +10,8 @@ COPY . /app
# Install any needed packages specified in requirements.txt # Install any needed packages specified in requirements.txt
RUN pip install --no-cache-dir -r requirements.txt RUN pip install --no-cache-dir -r requirements.txt
# Make port 80 available to the world outside this container # Copy the sample config file into the image
EXPOSE 80 COPY config.sample.json /app/config.sample.json
# Define environment variable
ENV NAME World
# Run update_aliyun.py when the container launches # Run update_aliyun.py when the container launches
CMD ["python", "update_aliyun.py"] CMD ["python", "update_aliyun.py"]