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
|
- 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
|
||||||
|
|
|
||||||
|
|
@ -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"]
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue