Skip to content

Commit 1812bb5

Browse files
committed
Same image versions as frontend currently uses
1 parent 89e615c commit 1812bb5

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# https://github.com/Visual-Regression-Tracker/Visual-Regression-Tracker/issues/137
2-
FROM node:14-alpine3.17 AS builder
2+
FROM node:18-alpine3.18 AS builder
33

44
# Create app directory
55
WORKDIR /app
@@ -10,15 +10,15 @@ COPY ./prisma/schema.prisma ./
1010
COPY package*.json ./
1111

1212
# Install app dependencies
13-
RUN npm ci
13+
RUN npm ci --verbose
1414

1515
COPY tsconfig*.json ./
1616
COPY src ./src
1717

1818
RUN npm run build
1919

2020
# https://github.com/Visual-Regression-Tracker/Visual-Regression-Tracker/issues/137
21-
FROM node:14-alpine3.17
21+
FROM node:18-alpine3.18
2222
COPY --from=builder /app/node_modules ./node_modules
2323
COPY --from=builder /app/package*.json ./
2424
COPY --from=builder /app/dist ./dist

prisma/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
# https://github.com/Visual-Regression-Tracker/Visual-Regression-Tracker/issues/137
2-
FROM node:14-alpine3.17
2+
FROM node:18-alpine3.18
33

44
RUN apk add --no-cache bash
55

66
WORKDIR /app
77

88
COPY . .
99

10-
RUN npm ci
10+
RUN npm ci --verbose
1111

1212
RUN chmod +x /app/wait-for-it.sh
1313
RUN chmod +x /app/entrypoint.sh

0 commit comments

Comments
 (0)