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
|
||||
run: docker login -u kio -p ${{ secrets.LOGINKEY }} ${{ env.REGISTRY }}
|
||||
- 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
|
||||
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
|
||||
|
||||
WORKDIR /FeDirect
|
||||
|
||||
COPY --link . ./
|
||||
|
||||
ENV ROCKET_ADDRESS=0.0.0.0
|
||||
|
||||
RUN cargo build --release
|
||||
|
||||
FROM scratch
|
||||
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"]
|
||||
CMD ["/FeDirect/target/release/fedirect"]
|
|
@ -131,7 +131,7 @@ Unchecking this is not recommended, and this option only exists for exceptional
|
|||
<p class="margin-none">Programming, design</p>
|
||||
</center>
|
||||
<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>
|
||||
<a href="https://kitsunes.club/@Kio" class="margin-none">@Kio@kitsunes.club</a>
|
||||
<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>
|
||||
</center>
|
||||
<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>
|
||||
<a href="https://kitsunes.club/@Kio" class="margin-none">@Kio@kitsunes.club</a>
|
||||
<p class="margin-none">Funding, hosting, design</p>
|
||||
|
|
Loading…
Add table
Reference in a new issue