merge working ci/cd into master #1

Merged
nihonium merged 20 commits from cicd into master 2025-10-08 21:19:12 +03:00
2 changed files with 3 additions and 2 deletions
Showing only changes of commit 0cd058ccbb - Show all commits

View file

@ -47,6 +47,7 @@ jobs:
- name: Build and push - name: Build and push
uses: docker/build-push-action@v6 uses: docker/build-push-action@v6
with: with:
context: ./modules/server
file: Dockerfiles/Dockerfile_server file: Dockerfiles/Dockerfile_server
push: true push: true
tags: meowgit.nekoea.red/nihonium/nyanimedb:latest tags: meowgit.nekoea.red/nihonium/nyanimedb:latest

View file

@ -1,8 +1,8 @@
FROM ubuntu:22.04 FROM ubuntu:22.04
WORKDIR /app WORKDIR /app
COPY --chmod=755 modules/server/nyanimedb /app COPY --chmod=755 nyanimedb /app
COPY modules/server/templates /app/templates COPY templates /app/templates
EXPOSE 8080 EXPOSE 8080
ENTRYPOINT ["/app/nyanimedb"] ENTRYPOINT ["/app/nyanimedb"]