Skip to content

Commit

Permalink
And attempt to have frontend build
Browse files Browse the repository at this point in the history
  • Loading branch information
tomouchuu committed Nov 5, 2023
1 parent 0e748fd commit 9af2d36
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 4 deletions.
2 changes: 2 additions & 0 deletions apps/frontend/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,8 @@ ENV TURBO_TEAM=$TURBO_TEAM
ARG TURBO_TOKEN
ENV TURBO_TOKEN=$TURBO_TOKEN

ENV NODE_ENV="production"

RUN bunx turbo run build --filter=frontend...

FROM bun AS runner
Expand Down
2 changes: 1 addition & 1 deletion apps/frontend/components/home/footer.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
function getVersion(): string {
return process.env.RAILWAY_ENVIRONMENT_NAME ?? '??'
return process.env.HAISHIN_VERSION ?? '??'
}

export default function Footer(): React.JSX.Element {
Expand Down
1 change: 0 additions & 1 deletion apps/frontend/next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ const { withSentryConfig } = require('@sentry/nextjs')

const moduleExports = {
env: {
HAISHIN_VERSION: process.env.HAISHIN_VERSION,
WS_URL: process.env.WS_URL
},
sentry: {
Expand Down
2 changes: 0 additions & 2 deletions turbo.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,6 @@
"FRONTEND_URL",
"BACKEND_URL",
"WS_URL",
"RAILWAY_ENVIRONMENT_NAME",
"RAILWAY_VOLUME_MOUNT_PATH",
"NEXT_PUBLIC_SENTRY_DSN",
"SENTRY_DSN",
"SENTRY_IGNORE_API_RESOLUTION_ERROR"
Expand Down

0 comments on commit 9af2d36

Please sign in to comment.