import json
with open('urls.json', 'r') as read_json:
json_urls = json.load(read_json)
for link in json_urls:
print(link["link"])
selenium_result = {}
// Работа селениума
selenium_result["some_result"] = "some_data"
with open('output.json', 'w') as write_json
json.dump(selenium_result, write_json)
nginx:
build:
context: ./
dockerfile: docker/php-fpm.docker
class edgeStruct():
__slots__ = "u", "v", "weight"
my_edge = edgeStruct()
my_edge.weight = 5
print(my_edge.weight)
echo '"{"jsonrpc":"2.0","result":[{"groupid":"63","name":"1voda","internal":"0","flags":"0"}],"id":1}"' | cut -d\" -f11
:
echo '{"jsonrpc":"2.0","result":[{"groupid":"63","name":"1voda","internal":"0","flags":"0"}],"id":1}' | jq -r '.result[0].groupid'
:
работает постоянно, но я понимаю, что это не совсем правильно
docker exec -it <containername> sh
./app
COPY . .
RUN go get && go install
Так вы сократит число слоев в вашем имейдже