bfile/containers/rust-dev.Dockerfile

13 lines
285 B
Docker

FROM rust
RUN cargo install cargo-watch && \
mkdir -p /opt/code && \
touch /opt/code/dev-entry.sh && \
chmod +x /opt/code/dev-entry.sh
RUN apt update && \
apt install nodejs npm -y --no-install-recommends && \
npm i -g uglify-js
CMD [ "/opt/code/dev-entry.sh" ]