Skip to content

Commit

Permalink
Fix dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
Trolldemorted authored and fsck committed Jul 11, 2019
1 parent 74e0e5d commit 7e859b1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,18 +8,18 @@ RUN apt-get update \
&& apt-get install -y libssl-dev pkg-config --no-install-recommends \
&& rm -rf /var/lib/apt/lists/*

RUN rustup install nightly
RUN rustup install nightly-2019-07-09

COPY ./Cargo.lock ./Cargo.lock
COPY ./Cargo.toml ./Cargo.toml

RUN cargo +nightly build
RUN cargo +nightly-2019-07-09 build

COPY ./Rocket.toml ./Rocket.toml
COPY ./src ./src

RUN touch src/main.rs
RUN cargo +nightly build
RUN cargo +nightly-2019-07-09 build

FROM debian:stretch-slim
WORKDIR /enokey
Expand Down

0 comments on commit 7e859b1

Please sign in to comment.