bfile/containers/rust-dev.Dockerfile

13 lines
299 B
Docker
Raw Normal View History

2023-10-12 12:39:28 +02:00
FROM rust
RUN cargo install cargo-watch && \
mkdir -p /opt/code && \
touch /opt/code/dev-entry.sh && \
chmod +x /opt/code/dev-entry.sh
2023-10-14 05:19:09 +02:00
RUN apt update && \
apt install nodejs npm -y --no-install-recommends && \
npm i -g uglify-js html-minifier
2023-10-14 05:19:09 +02:00
2023-10-12 12:39:28 +02:00
CMD [ "/opt/code/dev-entry.sh" ]