generated from PlexSheep/rs-base
15 lines
258 B
Docker
15 lines
258 B
Docker
|
FROM rust:1.80
|
||
|
|
||
|
WORKDIR /usr/src/myapp
|
||
|
COPY . .
|
||
|
|
||
|
RUN cargo install --path .
|
||
|
|
||
|
EXPOSE 1337/tcp
|
||
|
|
||
|
ENV WOOLY_CHALLENGE 3
|
||
|
ENV WOOLY_PORT 1337
|
||
|
ENV WOOLY_ARGS ""
|
||
|
|
||
|
CMD WOOLY_SECRET=$(cat /run/secrets/flag) wooly-vault $WOOLY_CHALLENGE 0.0.0.0:$WOOLY_PORT $WOOLY_ARGS
|