Fix shell
Signed-off-by: Marcus Noble <github@marcusnoble.co.uk>
This commit is contained in:
parent
b07797b292
commit
14af02f424
@ -5,7 +5,7 @@ FROM golang:1.13 AS UV3DP_BUILDER
|
||||
go build -o /app/uv3dp ./cmd/uv3dp
|
||||
|
||||
|
||||
FROM alpine:latest
|
||||
FROM bash:5
|
||||
COPY --from=UV3DP_BUILDER /app/uv3dp /usr/bin/
|
||||
|
||||
ADD src/convert.sh /convert.sh
|
||||
|
@ -1,4 +1,4 @@
|
||||
#!/bin/bash
|
||||
#!/usr/bin/env bash
|
||||
|
||||
cd ${WATCH_DIRECTORY:=/home}
|
||||
|
||||
@ -13,7 +13,7 @@ convert() {
|
||||
export -f convert
|
||||
|
||||
while [ true ]; do
|
||||
sleep 30
|
||||
|
||||
find . -type f -mmin +1 -iname '*.sl1' -exec bash -c 'convert {}' \;
|
||||
|
||||
sleep 30
|
||||
done
|
||||
|
Loading…
Reference in New Issue
Block a user