[#24] Fixed libpq not wanting to link

master^2
Jef Roosens 2021-04-17 10:12:37 +02:00
parent fd7a3e2331
commit f381c5b910
Signed by: Jef Roosens
GPG Key ID: 955C0660072F691F
2 changed files with 3 additions and 3 deletions

View File

@ -1,6 +1,6 @@
[development] [development]
address = "localhost" address = "0.0.0.0"
port = 7999 port = 8000
keep_alive = 5 keep_alive = 5
read_timeout = 5 read_timeout = 5
write_timeout = 5 write_timeout = 5

View File

@ -8,7 +8,7 @@ ENV RUSTFLAGS "-C target-feature=-crt-static"
WORKDIR /usr/src/app WORKDIR /usr/src/app
# Install build dependencies, rustup & rust's nightly build & toolchain # Install build dependencies, rustup & rust's nightly build & toolchain
RUN apk update && apk add --no-cache openssl-dev curl libpq libgcc musl-dev gcc && \ RUN apk update && apk add --no-cache openssl-dev curl postgresql-dev libgcc musl-dev gcc && \
{ curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --default-toolchain nightly; } && \ { curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --default-toolchain nightly; } && \
rustup target add x86_64-unknown-linux-musl --toolchain nightly rustup target add x86_64-unknown-linux-musl --toolchain nightly