Skip to content

Commit

Permalink
Fix Dockerfile order and bump Rust version
Browse files Browse the repository at this point in the history
  • Loading branch information
sbernauer committed May 5, 2022
1 parent c5b9ecb commit 64270b9
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
FROM rust:1.58.0 as builder
FROM rust:1.60.0 as builder

WORKDIR /breakwater
COPY src/ src/
COPY Cargo.toml .
COPY Arial.ttf .

RUN apt-get update && \
apt-get install -y clang libvncserver-dev && \
Expand All @@ -14,5 +15,5 @@ RUN apt-get update && \
apt-get install -y libvncserver1 && \
rm -rf /var/lib/apt/lists/*
COPY --from=builder /usr/local/cargo/bin/breakwater /usr/local/bin/breakwater
COPY Arial.ttf .

ENTRYPOINT ["breakwater"]

0 comments on commit 64270b9

Please sign in to comment.