Use supported nodejs and nightly rust compiler (required for rocket).
This commit is contained in:
parent
7d3b38af12
commit
7cc0af4f07
@ -1,11 +1,11 @@
|
||||
FROM rust:latest AS build-env
|
||||
FROM rustlang/rust:nightly AS build-env
|
||||
COPY ./ /src/
|
||||
COPY ./dockerfiles/netrc /root/.netrc
|
||||
RUN mkdir /root/.cargo
|
||||
COPY ./dockerfiles/cargo-config /.cargo/config
|
||||
RUN curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add -
|
||||
RUN echo "deb https://dl.yarnpkg.com/debian/ stable main" | tee /etc/apt/sources.list.d/yarn.list
|
||||
RUN curl -sL https://deb.nodesource.com/setup_13.x | bash -
|
||||
RUN curl -sL https://deb.nodesource.com/setup_12.x | bash -
|
||||
RUN apt-get update && apt-get install -y strace build-essential clang nodejs yarn
|
||||
WORKDIR /src/react-slideshow
|
||||
RUN yarn install
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user