Logo
Explore Help
Sign In
phundrak/phundrak.com
1
0
Fork 0
You've already forked phundrak.com
Code Issues Pull Requests Activity
phundrak.com/Dockerfile

14 lines
254 B
Docker
Raw Normal View History

feat(backend): add initial backend Backend as is can query GitHub for the information that will be necessary later on in the frontend's pages. It does not cache this information yet though. Signed-off-by: Lucien Cartier-Tilet <lucien@phundrak.com>
2023-02-04 12:51:14 +01:00
FROM rust:alpine
WORKDIR /app
COPY Cargo.toml /app/Cargo.toml
COPY Cargo.lock /app/Cargo.lock
COPY src /app/src
fix(backend): compilation The project could not compile previously due to the musl and the missing openssl libraries. This is now fixed. Signed-off-by: Lucien Cartier-Tilet <lucien@phundrak.com>
2023-02-09 11:57:29 +01:00
RUN apk update && apk add pkgconfig openssl-dev musl-dev
feat(backend): add initial backend Backend as is can query GitHub for the information that will be necessary later on in the frontend's pages. It does not cache this information yet though. Signed-off-by: Lucien Cartier-Tilet <lucien@phundrak.com>
2023-02-04 12:51:14 +01:00
RUN cargo build --release
RUN cargo install --path .
ENTRYPOINT [ "phuncache" ]
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.23.7 Page: 45ms Template: 2ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API