Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ on:
branches: [main, develop]
pull_request:
branches: [main]
workflow_dispatch:

jobs:
test:
Expand Down Expand Up @@ -32,9 +33,9 @@ jobs:
run: npm test
env:
NODE_ENV: test
JWT_SECRET: ci-test-secret-do-not-use-in-production
JWT_SECRET: "${{ secrets.JWT_SECRET }}"
STORAGE_BACKEND: json

- name: Check for vulnerabilities
run: npm audit --audit-level=high
continue-on-error: true
continue-on-error: true
5 changes: 2 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,7 @@ USER isms
ENV NODE_ENV=production \
PORT=3000 \
JWT_EXPIRES_IN=8h \
DEV_HEADER_AUTH=false \
STORAGE_BACKEND=json
DEV_HEADER_AUTH=false

EXPOSE 3000

Expand All @@ -50,4 +49,4 @@ HEALTHCHECK --interval=30s --timeout=5s --start-period=15s --retries=3 \
CMD wget -qO- http://localhost:3000/ui/login.html || exit 1

# Entrypoint erstellt fehlende Unterverzeichnisse und startet den Server
ENTRYPOINT ["./docker-entrypoint.sh"]
ENTRYPOINT ["./docker-entrypoint.sh"]
Loading