mirror of
https://github.com/yshtcn/alicloud-ip-updater.git
synced 2025-12-14 18:40:18 +08:00
Update Dockerfile
# 增加样例文件
This commit is contained in:
parent
5425391846
commit
ec1e8f8ebe
@ -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"]
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user