Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cypress upd dockerfile #971

Merged
merged 1 commit into from
Dec 6, 2023
Merged
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
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
Loading