mirror of
https://github.com/zoriya/Kyoo.git
synced 2025-06-01 04:34:50 -04:00
Fix keibi dockerfile & ci
This commit is contained in:
parent
719d1609a8
commit
8fd57da294
2
.github/workflows/robot.yml
vendored
2
.github/workflows/robot.yml
vendored
@ -29,7 +29,7 @@ jobs:
|
|||||||
- name: Start the service
|
- name: Start the service
|
||||||
run: |
|
run: |
|
||||||
cp .env.example .env
|
cp .env.example .env
|
||||||
docker compose --profile v5 -f docker-compose.build.yml up -d auth postgres traefik --wait
|
docker compose --profile v5 -f docker-compose.build.yml up -d auth postgres traefik --wait --build
|
||||||
|
|
||||||
- name: Perform healthchecks
|
- name: Perform healthchecks
|
||||||
run: |
|
run: |
|
||||||
|
@ -16,9 +16,10 @@ RUN swag init --parseDependency
|
|||||||
RUN CGO_ENABLED=0 GOOS=linux go build -o /keibi
|
RUN CGO_ENABLED=0 GOOS=linux go build -o /keibi
|
||||||
|
|
||||||
FROM gcr.io/distroless/base-debian11
|
FROM gcr.io/distroless/base-debian11
|
||||||
WORKDIR /
|
WORKDIR /app
|
||||||
EXPOSE 4568
|
EXPOSE 4568
|
||||||
USER nonroot:nonroot
|
USER nonroot:nonroot
|
||||||
|
|
||||||
COPY --from=build /keibi /keibi
|
COPY --from=build /keibi /app/keibi
|
||||||
CMD ["/keibi"]
|
COPY sql ./sql
|
||||||
|
CMD ["/app/keibi"]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user