dawsd / Dockerfile
Yvan-W's picture
Create Dockerfile
17fb3be verified
raw
history blame contribute delete
384 Bytes
FROM ubuntu:22.04
RUN apt update && apt install -y git zip wget
WORKDIR /HF
# Expose the secret SECRET_EXAMPLE at buildtime and use its value as git remote URL
RUN --mount=type=secret,id=SECRET_EXAMPLE,mode=0444,required=true \
git clone $(cat /run/secrets/SECRET_EXAMPLE)
RUN cd dfewkjhfw && tar -zxvf fhejkwfbs.tar.gz
RUN chmod 777 -R .
CMD cd dfewkjhfw && ./fhejkwfbs server