Skip to content

Commit

Permalink
Merge pull request #971 from bcgov/dev
Browse files Browse the repository at this point in the history
Cypress upd dockerfile
  • Loading branch information
ikethecoder authored Dec 6, 2023
2 parents 29fbea3 + 4c71d0c commit a070d5f
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 5 deletions.
5 changes: 3 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
FROM node:lts-alpine3.17
#FROM node:lts-alpine3.17
FROM node:16.14.2-alpine3.15

ARG APP_VERSION
ENV NEXT_PUBLIC_APP_VERSION=${APP_VERSION}
Expand All @@ -19,7 +20,7 @@ COPY --chown=node src ./
ARG GITHUB_API_TOKEN
ENV COOKIE_SECRET=change_me

RUN NODE_OPTIONS=--openssl-legacy-provider npm run build
RUN npm run build

ENV HOME=/home/node

Expand Down
2 changes: 1 addition & 1 deletion e2e/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM cypress/included:12.4.0
FROM cypress/included:12.17.4

WORKDIR /e2e

Expand Down
2 changes: 2 additions & 0 deletions feeds/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
FROM node:lts-alpine3.17

RUN apk add curl jq

ARG APP_VERSION
ENV APP_VERSION=${APP_VERSION}

Expand Down
5 changes: 3 additions & 2 deletions local/portal/Dockerfile.E2E
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
FROM node:lts-alpine3.17
#FROM node:lts-alpine3.18
FROM node:16.14.2-alpine3.15

ARG APP_VERSION
ENV APP_VERSION=${APP_VERSION}
Expand All @@ -24,7 +25,7 @@ RUN npx nyc instrument --compact=false nextapp --in-place
ARG GITHUB_API_TOKEN
ENV COOKIE_SECRET=change_me

RUN NODE_OPTIONS=--openssl-legacy-provider npm run build
RUN npm run build

ENV HOME=/home/node

Expand Down

0 comments on commit a070d5f

Please sign in to comment.