mirror of
https://github.com/zoriya/Kyoo.git
synced 2025-05-24 02:02:36 -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
|
||||
run: |
|
||||
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
|
||||
run: |
|
||||
|
@ -16,9 +16,10 @@ RUN swag init --parseDependency
|
||||
RUN CGO_ENABLED=0 GOOS=linux go build -o /keibi
|
||||
|
||||
FROM gcr.io/distroless/base-debian11
|
||||
WORKDIR /
|
||||
WORKDIR /app
|
||||
EXPOSE 4568
|
||||
USER nonroot:nonroot
|
||||
|
||||
COPY --from=build /keibi /keibi
|
||||
CMD ["/keibi"]
|
||||
COPY --from=build /keibi /app/keibi
|
||||
COPY sql ./sql
|
||||
CMD ["/app/keibi"]
|
||||
|
Loading…
x
Reference in New Issue
Block a user