Skip to content

Commit

Permalink
Used this fix to build and deploy on Digital Ocean https://github.com…
Browse files Browse the repository at this point in the history
  • Loading branch information
“suchapalaver” committed Apr 14, 2022
1 parent 0607fc7 commit bbf7bb6
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,12 +1,10 @@
FROM lukemathwalker/cargo-chef:latest-rust-1.59.0 as chef
FROM lukemathwalker/cargo-chef:latest-rust-1.53.0 as chef

# Let's switch our working directory to `app` (equivalent to `cd app`)
# The `app` folder will be created for us by Docker in case it does not
# exist already.
WORKDIR /app

# Install the required system dependencies for our linking configuration
RUN apt update && apt install lld clang -y

FROM chef as planner

Expand Down Expand Up @@ -45,7 +43,7 @@ WORKDIR /app
# Install ca-certificates - it is needed to verify TLS certificates
# when establishing HTTPS connections
RUN apt-get update -y \
&& apt-get install -y --no-install-recommends openssl ca-certificates \
&& apt-get install -y --no-install-recommends openssl \
# Clean up
&& apt-get autoremove -y \
&& apt-get clean -y \
Expand Down

0 comments on commit bbf7bb6

Please sign in to comment.