[release] v0.5.12-unstable
This commit is contained in:
parent
40134af60a
commit
3cb1f8e7a1
|
@ -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"]
|
||||
|
|
Loading…
Reference in a new issue