From 3cb1f8e7a1f825318b95a4d57df7678ebbebe519 Mon Sep 17 00:00:00 2001 From: Yann Stepienik Date: Sat, 27 May 2023 18:25:22 +0100 Subject: [PATCH] [release] v0.5.12-unstable --- dockerfile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/dockerfile b/dockerfile index 25e9f42..73b0dd8 100644 --- a/dockerfile +++ b/dockerfile @@ -15,6 +15,7 @@ RUN apt-get install -y wget curl RUN wget https://golang.org/dl/go1.20.2.linux-amd64.tar.gz RUN tar -C /usr/local -xzf go1.20.2.linux-amd64.tar.gz ENV PATH=$PATH:/usr/local/go/bin +RUN rm go1.20.2.linux-amd64.tar.gz # install nodejs 18.16.0 RUN curl -fsSL https://deb.nodesource.com/setup_18.x | bash - @@ -34,6 +35,11 @@ RUN npm run client-build RUN chmod +x build.sh RUN ./build.sh +# clean up +RUN apt-get remove -y wget curl nodejs +RUN apt-get autoremove -y +RUN rm -rf node_modules + WORKDIR /app/build CMD ["./cosmos"]