Skip to content

Commit

Permalink
ci(docker): add experimental specifier resolution
Browse files Browse the repository at this point in the history
  • Loading branch information
dargmuesli committed Jul 20, 2022
1 parent 1357515 commit 6f5a4d0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,8 @@ RUN npm install -g pnpm && \
# Could be the specific version of `node:alpine`, but the `prepare` stage uses slim too.
FROM node:18.6.0-slim@sha256:dc51bdd082f355574f0c534ffa1c0d5fcdb825ed673da6486ecd566091b8d8f0 AS test-integration

ENV NODE_OPTIONS=--experimental-specifier-resolution=node

# Update and install dependencies.
# - `wget` is used for testing
# - `procps` is required by `start-server-and-test` on `debian:slim` (https://github.com/bahmutov/start-server-and-test/issues/132#issuecomment-448581335)
Expand Down Expand Up @@ -205,6 +207,7 @@ COPY --from=test-visual /srv/app/package.json /tmp/test-visual/package.json
FROM node:18.6.0-slim@sha256:dc51bdd082f355574f0c534ffa1c0d5fcdb825ed673da6486ecd566091b8d8f0 AS production

ENV NODE_ENV=production
ENV NODE_OPTIONS=--experimental-specifier-resolution=node

# Update and install dependencies.
# - `libdbd-pg-perl postgresql-client sqitch` is required by the entrypoint
Expand Down

0 comments on commit 6f5a4d0

Please sign in to comment.