Skip to content
Open
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
1 change: 1 addition & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@
.npm
dist
node_modules
.git
8 changes: 6 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,14 @@ ARG CI=true
RUN mkdir /app
WORKDIR /app

COPY . .* ./

# Install dependencies before copying the full source code to take advantage of Docker layer caching
COPY package*.json ./
# Needed for postinstall (build:models) during npm ci
COPY src/build-spec.ts ./src/build-spec.ts
COPY src/openapi ./src/openapi
RUN npm ci

COPY . .* ./
Comment thread
j-zimnowoda marked this conversation as resolved.
RUN npm run build
RUN npm run lint
RUN npm run test
Expand Down
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,10 @@ npm run build:spec # Build OpenAPI specification
| `src/openapi/` | OpenAPI specifications |
| `src/middleware/` | JWT, session, authz middleware |

### Operational Docs

- [Docs](docs/)

## Authentication & Authorization

### Authentication
Expand Down