mirror of
https://github.com/mentos1386/zdravko.git
synced 2024-11-22 07:43:33 +00:00
ci(deploy): fix permissions for data
This commit is contained in:
parent
dc3251d00f
commit
2b6e1ca09b
2 changed files with 12 additions and 1 deletions
|
@ -19,7 +19,7 @@ RUN mkdir -p /data
|
||||||
|
|
||||||
###
|
###
|
||||||
# Final production
|
# Final production
|
||||||
FROM gcr.io/distroless/base-debian12:nonroot as production
|
FROM gcr.io/distroless/base-debian12:latest as production
|
||||||
COPY --from=builder /bin/zdravko /bin/zdravko
|
COPY --from=builder /bin/zdravko /bin/zdravko
|
||||||
COPY LICENSE /LICENSE
|
COPY LICENSE /LICENSE
|
||||||
COPY README.md /README.md
|
COPY README.md /README.md
|
||||||
|
|
11
justfile
11
justfile
|
@ -11,6 +11,17 @@ STATIC_DIR := "./web/static"
|
||||||
build:
|
build:
|
||||||
docker build -f build/Dockerfile -t {{DOCKER_IMAGE}} .
|
docker build -f build/Dockerfile -t {{DOCKER_IMAGE}} .
|
||||||
|
|
||||||
|
run-docker:
|
||||||
|
docker run -p 8080:8080 \
|
||||||
|
-e SESSION_SECRET \
|
||||||
|
-e OAUTH2_CLIENT_ID \
|
||||||
|
-e OAUTH2_CLIENT_SECRET \
|
||||||
|
-e OAUTH2_ENDPOINT_TOKEN_URL \
|
||||||
|
-e OAUTH2_ENDPOINT_AUTH_URL \
|
||||||
|
-e OAUTH2_ENDPOINT_USER_INFO_URL \
|
||||||
|
-e OAUTH2_ENDPOINT_LOGOUT_URL \
|
||||||
|
{{DOCKER_IMAGE}}
|
||||||
|
|
||||||
# Run full development environment
|
# Run full development environment
|
||||||
run:
|
run:
|
||||||
devbox services up
|
devbox services up
|
||||||
|
|
Loading…
Reference in a new issue