bfile/filed/Dockerfile.dev

18 lines
372 B
Docker

# --- build ---
FROM rust as builder
WORKDIR /opt/code
COPY . .
# No build is done during this step
# since the directory will be mounted anyways
# to the dev's machine.
# Therefore installing & compiling in the dockerfile
# would be moronic, to say at least
# However, cargo watch needs to be installed
RUN cargo install cargo-watch
CMD [ "/opt/code/dev-entry.sh" ]