Skip to content

Commit

Permalink
fix: changes suggested by Majk
Browse files Browse the repository at this point in the history
  • Loading branch information
Ebubeker committed Oct 30, 2023
2 parents 924f2e8 + 2dc73ef commit 4a99f49
Show file tree
Hide file tree
Showing 63 changed files with 778 additions and 884 deletions.
1 change: 0 additions & 1 deletion .env.docker

This file was deleted.

Empty file removed .husky/.gitignore
Empty file.
2 changes: 1 addition & 1 deletion .husky/commit-msg
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"

cd ./app/client && npx --no -- commitlint --edit ${1}
npx --no -- commitlint --edit ${1}
2 changes: 1 addition & 1 deletion .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"

cd ./app/client && pnpm lint
pnpm lint

This file was deleted.

108 changes: 0 additions & 108 deletions apps/goat/app/[lng]/(dashboard)/settings/settings/Profile.tsx

This file was deleted.

28 changes: 0 additions & 28 deletions apps/goat/app/[lng]/(dashboard)/settings/settings/layout.tsx

This file was deleted.

3 changes: 0 additions & 3 deletions apps/goat/public/assets/poi-icons/circle.svg

This file was deleted.

3 changes: 0 additions & 3 deletions apps/goat/public/assets/poi-icons/star.svg

This file was deleted.

12 changes: 11 additions & 1 deletion apps/web/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ RUN apk update
WORKDIR /app
RUN npm install -g turbo
COPY . .
COPY .env.docker /app/apps/web/.env
RUN turbo prune --scope=@p4b/web --docker

# Add lockfile and package.json's of isolated subworkspace
Expand All @@ -24,9 +23,18 @@ RUN pnpm install --frozen-lockfile

# Build the project
COPY --from=builder /app/out/full/ .

ARG NEXT_PUBLIC_APP_URL=APP_NEXT_PUBLIC_APP_URL
ARG NEXT_PUBLIC_MAP_TOKEN=APP_NEXT_PUBLIC_MAP_TOKEN
ARG NEXT_PUBLIC_ACCOUNTS_API_URL=APP_NEXT_PUBLIC_ACCOUNTS_API_URL
ARG NEXT_PUBLIC_GEOAPI_URL=APP_NEXT_PUBLIC_GEOAPI_URL
ARG NEXT_PUBLIC_API_URL=APP_NEXT_PUBLIC_API_URL

RUN pnpm dlx turbo run build --filter=web

FROM base AS runner
RUN apk add bash

WORKDIR /app

# Don't run production as root
Expand All @@ -45,4 +53,6 @@ COPY --from=installer --chown=nextjs:nodejs /app/apps/web/public ./apps/web/publ

ENV HOSTNAME localhost

COPY ./apps/web/entrypoint.sh /app/apps/web/entrypoint.sh
ENTRYPOINT ["/app/apps/web/entrypoint.sh"]
CMD node apps/web/server.js
Loading

0 comments on commit 4a99f49

Please sign in to comment.