Skip to content

Commit

Permalink
fix: dockerfile lint issue
Browse files Browse the repository at this point in the history
Signed-off-by: Mike Murray <[email protected]>
  • Loading branch information
mikemurray committed Jun 5, 2020
1 parent 9a4971f commit ddc3ae0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ USER node
RUN yarn install --production=false --frozen-lockfile --ignore-scripts --non-interactive --no-cache

ENV BUILD_ENV=production NODE_ENV=production
RUN export $(grep -v '^#' .env.${NEXTJS_DOTENV:-prod} | xargs -0) && yarn build
RUN export "$(grep -v '^#' .env.${NEXTJS_DOTENV:-prod} | xargs -0) && yarn build"

# Install only prod dependencies now that we've built, to make the image smaller
RUN rm -rf node_modules/*
Expand Down

1 comment on commit ddc3ae0

@janus-reith
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This breaks functionality of the build.

Please sign in to comment.