fix: docker build context
This commit is contained in:
parent
1784187e64
commit
0cd058ccbb
2 changed files with 3 additions and 2 deletions
|
|
@ -47,6 +47,7 @@ jobs:
|
|||
- name: Build and push
|
||||
uses: docker/build-push-action@v6
|
||||
with:
|
||||
context: ./modules/server
|
||||
file: Dockerfiles/Dockerfile_server
|
||||
push: true
|
||||
tags: meowgit.nekoea.red/nihonium/nyanimedb:latest
|
||||
|
|
|
|||
|
|
@ -1,8 +1,8 @@
|
|||
FROM ubuntu:22.04
|
||||
|
||||
WORKDIR /app
|
||||
COPY --chmod=755 modules/server/nyanimedb /app
|
||||
COPY modules/server/templates /app/templates
|
||||
COPY --chmod=755 nyanimedb /app
|
||||
COPY templates /app/templates
|
||||
EXPOSE 8080
|
||||
ENTRYPOINT ["/app/nyanimedb"]
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue