Skip to content

Commit 7914aa7

Browse files
authored
Merge pull request #91 from linea-it/90-flag-beta
90 flag beta
2 parents 79ef33d + fd2d91e commit 7914aa7

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed

compose/production/frontend/Dockerfile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@ FROM base AS runner
2222
WORKDIR /app
2323
COPY --from=builder /app /app
2424
RUN mkdir -p /app/.next/cache && chmod -R 777 /app/.next/cache
25+
RUN yarn global add serve
2526

2627
EXPOSE 3000
27-
CMD ["yarn", "start"]
28+
# CMD ["yarn", "start"]
29+
CMD ["yarn", "serve", "-s", "build"]

frontend/app/theme.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ const theme = createTheme({
1515
},
1616
typography: {
1717
fontFamily: roboto.style.fontFamily,
18-
},
18+
}
1919
});
2020

2121
export default theme;

frontend/components/Header/index.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ import ListItemText from '@mui/material/ListItemText';
1313
import Box from '@mui/material/Box';
1414
import Button from '@mui/material/Button';
1515
import LoggedUser from '@/components/LoggedUser';
16+
import Chip from '@mui/material/Chip';
1617
import { useAuth } from '@/contexts/AuthContext';
1718

1819

@@ -94,8 +95,8 @@ export default function Header() {
9495
</ListItem>
9596
))}
9697
</List>
98+
<Chip label="Beta" variant="outlined" color="warning" size="small" />
9799
<Box sx={{ flexGrow: 1 }} />
98-
99100
{user && (
100101
<LoggedUser username={user?.username} />
101102
)}

0 commit comments

Comments
 (0)