Update Dockerfile

# 增加样例文件
This commit is contained in:
yshtcn 2024-06-03 21:36:04 +08:00 committed by GitHub
parent 5425391846
commit ec1e8f8ebe
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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"]