File tree Expand file tree Collapse file tree 5 files changed +15
-9
lines changed
api/docker-entrypoint.api Expand file tree Collapse file tree 5 files changed +15
-9
lines changed 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,3 +25,7 @@ pnpm-debug.log*
25
25
26
26
api /public
27
27
test.http
28
+ /test-results /
29
+ /playwright-report /
30
+ /blob-report /
31
+ /playwright /.cache /
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 1
1
# Stage 1: Build the Vue.js application
2
- FROM node:23 AS build-stage
2
+ FROM node:23-alpine AS build-stage
3
3
4
4
USER node
5
5
WORKDIR /app
@@ -10,18 +10,17 @@ COPY --chown=1000:1000 . .
10
10
RUN npm run build
11
11
12
12
# Stage 2: Prepare the Node.js API
13
- FROM node:23 AS api-stage
13
+ FROM node:23-alpine AS api-stage
14
14
15
15
WORKDIR /api
16
16
17
17
# Copy package.json and other necessary files for the API
18
18
COPY --chown=1000:1000 api/package*.json ./
19
19
RUN npm install && \
20
20
chown -R 1000:1000 /api && \
21
- apt-get update && \
22
- apt-get install -y --no-install-recommends gettext-base && \
23
- apt-get clean && \
24
- rm -rf /var/lib/apt/lists/*
21
+ apk update && \
22
+ apk add --no-cache gettext && \
23
+ rm -rf /var/cache/apk/*
25
24
26
25
# Copy the rest of your API source code
27
26
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