Skip to content

Commit

Permalink
feat: add keycloak and e2e dockerfiles
Browse files Browse the repository at this point in the history
  • Loading branch information
brakmic committed Feb 12, 2025
1 parent a89c460 commit c502904
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 0 deletions.
5 changes: 5 additions & 0 deletions test/bootstrap/keycloak/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
FROM quay.io/keycloak/keycloak:26.1.0 AS builder

EXPOSE 8080

CMD ["start-dev"]
15 changes: 15 additions & 0 deletions test/e2e/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
FROM node:20-alpine

WORKDIR /app

COPY package*.json ./
COPY tsconfig*.json ./
COPY test/e2e/server.ts ./test/e2e/
COPY src ./src

RUN npm install
RUN npm install -g tsx

EXPOSE 4000

CMD ["tsx", "--tsconfig", "tsconfig.e2e.json", "test/e2e/server.ts"]

0 comments on commit c502904

Please sign in to comment.