Compare commits
No commits in common. "main" and "about" have entirely different histories.
4 changed files with 7 additions and 10 deletions
|
@ -16,6 +16,6 @@ jobs:
|
||||||
- name: Login to Docker
|
- name: Login to Docker
|
||||||
run: docker login -u kio -p ${{ secrets.LOGINKEY }} ${{ env.REGISTRY }}
|
run: docker login -u kio -p ${{ secrets.LOGINKEY }} ${{ env.REGISTRY }}
|
||||||
- name: build docker repository
|
- name: build docker repository
|
||||||
run: docker build --no-cache --pull . -t ${{ env.REGISTRY }}/${{ env.PUBLISH_AS }}:latest
|
run: docker build . -t ${{ env.REGISTRY }}/${{ env.PUBLISH_AS }}:latest
|
||||||
- name: Push to Repo Server
|
- name: Push to Repo Server
|
||||||
run: docker push ${{ env.REGISTRY }}/${{ env.PUBLISH_AS }}:latest
|
run: docker push ${{ env.REGISTRY }}/${{ env.PUBLISH_AS }}:latest
|
11
Dockerfile
11
Dockerfile
|
@ -1,15 +1,12 @@
|
||||||
FROM rust:alpine AS build
|
FROM rust:alpine
|
||||||
RUN apk add deno pkgconfig libressl-dev musl-dev
|
RUN apk add deno pkgconfig libressl-dev musl-dev
|
||||||
|
|
||||||
WORKDIR /FeDirect
|
WORKDIR /FeDirect
|
||||||
|
|
||||||
COPY --link . ./
|
COPY --link . ./
|
||||||
|
|
||||||
|
ENV ROCKET_ADDRESS=0.0.0.0
|
||||||
|
|
||||||
RUN cargo build --release
|
RUN cargo build --release
|
||||||
|
|
||||||
FROM scratch
|
CMD ["/FeDirect/target/release/fedirect"]
|
||||||
COPY --from=build /FeDirect/known-software.json /FeDirect/target/release/fedirect /
|
|
||||||
COPY --from=build /FeDirect/static/ /static
|
|
||||||
ENV ROCKET_ADDRESS=0.0.0.0
|
|
||||||
WORKDIR /
|
|
||||||
CMD ["/fedirect"]
|
|
|
@ -131,7 +131,7 @@ Unchecking this is not recommended, and this option only exists for exceptional
|
||||||
<p class="margin-none">Programming, design</p>
|
<p class="margin-none">Programming, design</p>
|
||||||
</center>
|
</center>
|
||||||
<center class="absolute-centered member kio align-content-center flex-column">
|
<center class="absolute-centered member kio align-content-center flex-column">
|
||||||
<img id="kioAvatar" class="xl-size" alt="Kio's avatar" />
|
<img id="kioAvatar" class="xl-size" alt="Charlotte's avatar" />
|
||||||
<p class="margin-none">Kio</p>
|
<p class="margin-none">Kio</p>
|
||||||
<a href="https://kitsunes.club/@Kio" class="margin-none">@Kio@kitsunes.club</a>
|
<a href="https://kitsunes.club/@Kio" class="margin-none">@Kio@kitsunes.club</a>
|
||||||
<p class="margin-none">Funding, hosting, design</p>
|
<p class="margin-none">Funding, hosting, design</p>
|
||||||
|
|
|
@ -142,7 +142,7 @@ Unchecking this is not recommended, and this option only exists for exceptional
|
||||||
<p class="margin-none">Programming, design</p>
|
<p class="margin-none">Programming, design</p>
|
||||||
</center>
|
</center>
|
||||||
<center class="absolute-centered member kio align-content-center flex-column">
|
<center class="absolute-centered member kio align-content-center flex-column">
|
||||||
<img id="kioAvatar" class="xl-size" alt="Kio's avatar" />
|
<img id="kioAvatar" class="xl-size" alt="Charlotte's avatar" />
|
||||||
<p class="margin-none">Kio</p>
|
<p class="margin-none">Kio</p>
|
||||||
<a href="https://kitsunes.club/@Kio" class="margin-none">@Kio@kitsunes.club</a>
|
<a href="https://kitsunes.club/@Kio" class="margin-none">@Kio@kitsunes.club</a>
|
||||||
<p class="margin-none">Funding, hosting, design</p>
|
<p class="margin-none">Funding, hosting, design</p>
|
||||||
|
|
Loading…
Add table
Reference in a new issue