docker user

This commit is contained in:
Askill 2022-09-25 15:06:16 +00:00
parent 0fc9f946cb
commit 0182178a27
2 changed files with 2 additions and 2 deletions

View File

@ -69,7 +69,7 @@ async def sender(target, img):
i = 0
async for websocket in websockets.connect(target + "/set", timeout=10):
try:
while i < max_h*max_w*1.5:
while i < max_h*max_w*1.8:
i+=1
rx = random.randint(0, max_w - 1)
ry = random.randint(0, max_h - 1)

View File

@ -1,5 +1,5 @@
FROM golang:1.19
USER runner
WORKDIR /usr/src/app
# pre-copy/cache go.mod for pre-downloading dependencies and only redownloading them in subsequent builds if they change