You've already forked AstralRinth
forked from didirus/AstralRinth
Fix HTTPS requests not working in the image (#259)
This commit is contained in:
@@ -24,6 +24,12 @@ RUN cargo build --release
|
|||||||
|
|
||||||
|
|
||||||
FROM debian:bullseye-slim
|
FROM debian:bullseye-slim
|
||||||
|
|
||||||
|
RUN apt-get update \
|
||||||
|
&& apt-get install -y --no-install-recommends ca-certificates
|
||||||
|
|
||||||
|
RUN update-ca-certificates
|
||||||
|
|
||||||
COPY --from=build /usr/src/labrinth/target/release/labrinth /labrinth/labrinth
|
COPY --from=build /usr/src/labrinth/target/release/labrinth /labrinth/labrinth
|
||||||
COPY --from=build /usr/src/labrinth/migrations/* /labrinth/migrations/
|
COPY --from=build /usr/src/labrinth/migrations/* /labrinth/migrations/
|
||||||
COPY --from=build /wait /wait
|
COPY --from=build /wait /wait
|
||||||
|
|||||||
@@ -27,7 +27,7 @@ pub enum AuthorizationError {
|
|||||||
DatabaseError(#[from] crate::database::models::DatabaseError),
|
DatabaseError(#[from] crate::database::models::DatabaseError),
|
||||||
#[error("Error while parsing JSON: {0}")]
|
#[error("Error while parsing JSON: {0}")]
|
||||||
SerDeError(#[from] serde_json::Error),
|
SerDeError(#[from] serde_json::Error),
|
||||||
#[error("Error while communicating to GitHub OAuth2: {0}")]
|
#[error("Error while communicating to GitHub OAuth2")]
|
||||||
GithubError(#[from] reqwest::Error),
|
GithubError(#[from] reqwest::Error),
|
||||||
#[error("Invalid Authentication credentials")]
|
#[error("Invalid Authentication credentials")]
|
||||||
InvalidCredentialsError,
|
InvalidCredentialsError,
|
||||||
|
|||||||
Reference in New Issue
Block a user