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 && \
|
2023-11-11 09:26:56 +01:00
|
|
|
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" ]
|