mirror of
https://github.com/yshtcn/alicloud-ip-updater.git
synced 2026-01-28 16:41:54 +08:00
Update Dockerfile
# 增加样例文件
This commit is contained in:
@@ -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"]
|
||||||
|
|||||||
Reference in New Issue
Block a user