Skip to content

Commit

Permalink
Bugfix/bump next (#383)
Browse files Browse the repository at this point in the history
* Bump next version and revert dockerfile

* Add addDefaultCloudMapNamespace
  • Loading branch information
NiallJoeMaher authored Aug 15, 2023
1 parent 2c83742 commit 3f53895
Show file tree
Hide file tree
Showing 4 changed files with 48 additions and 46 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,6 @@ COPY --from=builder /app/.next/static ./.next/static
EXPOSE 3000

ENV PORT 3000
ENV HOSTNAME host.docker.internal
ENV HOSTNAME localhost

CMD ["node", "server.js"]
2 changes: 2 additions & 0 deletions cdk/lib/app-stack.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@ export class AppStack extends cdk.Stack {

const cluster = new ecs.Cluster(this, "ServiceCluster", { vpc });

cluster.addDefaultCloudMapNamespace({ name: this.cloudMapNamespace });

const appAsset = new ecrAssets.DockerImageAsset(this, "app", {
directory: "../",
file: "Dockerfile",
Expand Down
88 changes: 44 additions & 44 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
"fathom-client": "^3.5.0",
"html-react-parser": "^3.0.16",
"nanoid": "^4.0.2",
"next": "^13.4.13",
"next": "^13.4.16",
"next-auth": "^4.22.3",
"next-superjson-plugin": "^0.5.9",
"nodemailer": "^6.9.3",
Expand Down

0 comments on commit 3f53895

Please sign in to comment.