File tree Expand file tree Collapse file tree 6 files changed +22
-14
lines changed
api/docker-entrypoint.api Expand file tree Collapse file tree 6 files changed +22
-14
lines changed Original file line number Diff line number Diff line change @@ -15,8 +15,12 @@ Dockerfile
15
15
* .md
16
16
azure-deploy /
17
17
infra /
18
- playwright-report /
19
- test-results /
20
- test-results-docker /
18
+
19
+ /playwright-report /
20
+ /blob-report /
21
+ /playwright /.cache /
22
+
23
+ /test-results /
24
+ /test-results-docker /
21
25
test-results-docker-ent /
22
26
test-results-docker-org /
Original file line number Diff line number Diff line change @@ -19,4 +19,7 @@ VUE_APP_GITHUB_TOKEN=
19
19
20
20
# GitHub Api Url
21
21
# for proxy api - set to /api/github defaults to https://api.github.com
22
- VUE_APP_GITHUB_API =
22
+ VUE_APP_GITHUB_API =
23
+
24
+ # Random string used in API to secure session, use when VUE_APP_GITHUB_API=/api/github
25
+ # SESSION_SECRET=randomstring
Original file line number Diff line number Diff line change @@ -25,10 +25,12 @@ pnpm-debug.log*
25
25
26
26
api /public
27
27
test.http
28
- /test-results /
29
- /test-results-docker /
28
+
30
29
/playwright-report /
31
30
/blob-report /
32
31
/playwright /.cache /
32
+
33
+ /test-results /
34
+ /test-results-docker /
33
35
test-results-docker-ent /
34
36
test-results-docker-org /
Original file line number Diff line number Diff line change 1
1
# Stage 1: Build the Vue.js application
2
- FROM node:22 AS build-stage
2
+ FROM node:23-alpine AS build-stage
3
3
WORKDIR /app
4
4
COPY package*.json ./
5
5
RUN npm install
Original file line number Diff line number Diff line change 6
6
# build with 'docker build -f api.Dockerfile -t api .' for production
7
7
ARG mode=prod
8
8
9
- FROM node:23 AS build-stage
9
+ FROM node:23-alpine AS build-stage
10
10
11
11
USER node
12
12
WORKDIR /app
@@ -17,18 +17,17 @@ COPY --chown=1000:1000 . .
17
17
RUN npm run build
18
18
19
19
# Stage 2: Prepare the Node.js API
20
- FROM node:23 AS base-prod
20
+ FROM node:23-alpine AS base-prod
21
21
22
22
WORKDIR /api
23
23
24
24
# Copy package.json and other necessary files for the API
25
25
COPY --chown=1000:1000 api/package*.json ./
26
26
RUN npm ci && \
27
27
chown -R 1000:1000 /api && \
28
- apt-get update && \
29
- apt-get install -y --no-install-recommends gettext-base && \
30
- apt-get clean && \
31
- rm -rf /var/lib/apt/lists/*
28
+ apk update && \
29
+ apk add --no-cache gettext && \
30
+ rm -rf /var/cache/apk/*
32
31
33
32
# Copy the rest of your API source code
34
33
COPY --chown=1000:1000 api/ .
Original file line number Diff line number Diff line change 1
- #! /bin/bash
1
+ #! /bin/sh
2
2
3
3
configTemplateFile=/api/app-config.template.js
4
4
configTargetFile=/api/public/assets/app-config.js
You can’t perform that action at this time.
0 commit comments