Add static files docker container
All checks were successful
Build and Publish Docker Container / build (push) Successful in 5m45s
All checks were successful
Build and Publish Docker Container / build (push) Successful in 5m45s
This commit is contained in:
parent
d045257987
commit
1ada65c7a3
9
.github/workflows/build.yml
vendored
9
.github/workflows/build.yml
vendored
@ -31,4 +31,11 @@ jobs:
|
||||
context: .
|
||||
push: true
|
||||
tags: git.joshuacoles.me/personal/lecture-attendance-manager:latest
|
||||
build-args: APP_NAME=finn-board
|
||||
|
||||
- name: Build and Push Docker image
|
||||
uses: docker/build-push-action@675965c0e16f1a0f94ecafff969d8c966f92c17b
|
||||
with:
|
||||
context: .
|
||||
dockerfile: Dockerfile-static-files
|
||||
push: true
|
||||
tags: git.joshuacoles.me/personal/lecture-attendance-manager/static-files:latest
|
||||
|
||||
5
Dockerfile-static-files
Normal file
5
Dockerfile-static-files
Normal file
@ -0,0 +1,5 @@
|
||||
FROM git.joshuacoles.me/personal/lecture-attendance-manager:latest as app
|
||||
|
||||
FROM caddy:alpine
|
||||
|
||||
COPY --from=app /rails/public /rails/public
|
||||
Loading…
Reference in New Issue
Block a user