You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

19 lines
499 B

# ----------------------------------
# Pterodactyl Panel Dockerfile
# ----------------------------------
FROM golang:1.16.4-alpine
COPY . /jane
WORKDIR /jane
RUN apk add --no-cache --update git curl lua-stdlib lua musl-dev g++ libc-dev tesseract-ocr tesseract-ocr-dev \
&& go mod tidy \
&& go build -o jane
FROM alpine:latest
WORKDIR /root/
RUN apk add --no-cache --update git curl lua-stdlib lua musl-dev g++ libc-dev tesseract-ocr tesseract-ocr-dev
COPY --from=0 /jane/jane .
CMD ["./jane"]