Skip to content

Commit

Permalink
one more fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Ethan-Arrowood committed Dec 4, 2024
1 parent 0610bfa commit d3fdae0
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
6 changes: 2 additions & 4 deletions extension.js
Original file line number Diff line number Diff line change
Expand Up @@ -77,8 +77,8 @@ function resolveConfig(options) {
buildOnly: options.buildOnly ?? false,
dev: options.dev ?? false,
installCommand: options.installCommand ?? 'npm install',
port: options.port ?? options.server.config.http.port,
securePort: options.securePort ?? options.server.config.http.securePort,
port: options.port,
securePort: options.securePort,
prebuilt: options.prebuilt ?? false,
subPath: options.subPath ?? '',
cache: options.cache ?? false,
Expand Down Expand Up @@ -304,8 +304,6 @@ export function start(options = {}) {
});
}

logger.info(`Next.js App available on localhost:${config.port}`);

return true;
},
};
Expand Down
2 changes: 2 additions & 0 deletions util/docker/base.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -43,3 +43,5 @@ RUN npm install

# Create link to the @harperdb/nextjs module
RUN npm link

WORKDIR /
2 changes: 2 additions & 0 deletions util/docker/next.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ COPY fixtures/next-${NEXT_MAJOR} /hdb/components/next-${NEXT_MAJOR}
WORKDIR /hdb/components/next-${NEXT_MAJOR}
RUN npm install

WORKDIR /

EXPOSE 9925 9926

CMD ["harperdb", "run"]

0 comments on commit d3fdae0

Please sign in to comment.