fix prod
This commit is contained in:
parent
c9421cebb4
commit
d3cdc84d33
|
@ -47,8 +47,6 @@ RUN chown nextjs:nodejs .next
|
|||
COPY --from=builder --chown=nextjs:nodejs /app/.next/standalone ./
|
||||
COPY --from=builder --chown=nextjs:nodejs /app/.next/static ./.next/static
|
||||
|
||||
USER nextjs
|
||||
|
||||
EXPOSE 3000
|
||||
|
||||
ENV PORT 3000
|
||||
|
|
|
@ -54,7 +54,7 @@ export default function Aliases() {
|
|||
</Button>
|
||||
<Button
|
||||
size="1"
|
||||
variant="solid"
|
||||
variant="soft"
|
||||
onClick={() => deleteAlias(alias.alias)
|
||||
.then(() => setAliases(aliases?.filter(a => a.id != alias.id)))}
|
||||
>
|
||||
|
@ -96,7 +96,7 @@ export default function Aliases() {
|
|||
<Dialog.Trigger>
|
||||
<Button
|
||||
size="1"
|
||||
variant="solid"
|
||||
variant="soft"
|
||||
>
|
||||
Delete
|
||||
</Button>
|
||||
|
@ -111,7 +111,7 @@ export default function Aliases() {
|
|||
</Dialog.Close>
|
||||
<Dialog.Close>
|
||||
<Button
|
||||
variant="solid"
|
||||
variant="soft"
|
||||
onClick={() => deleteAlias(alias.alias)
|
||||
.then(() => setAliases(aliases?.filter(a => a.id != alias.id)))}
|
||||
>
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
@tailwind base;
|
||||
@tailwind components;
|
||||
@tailwind utilities;
|
||||
@tailwind utilities;
|
||||
|
|
|
@ -168,7 +168,7 @@ export default function SelfService() {
|
|||
{validPassword
|
||||
? (
|
||||
<Button
|
||||
variant="solid"
|
||||
variant="soft"
|
||||
onClick={async () => {
|
||||
setNewPassword("");
|
||||
|
||||
|
@ -184,7 +184,7 @@ export default function SelfService() {
|
|||
)
|
||||
: (
|
||||
<Tooltip content="The password must have a minimum length of 8 characters">
|
||||
<Button variant="solid" disabled>Update</Button>
|
||||
<Button variant="soft" disabled>Update</Button>
|
||||
</Tooltip>
|
||||
)
|
||||
}
|
||||
|
@ -285,7 +285,7 @@ export default function SelfService() {
|
|||
</Dialog.Close>
|
||||
<Dialog.Close>
|
||||
<Button
|
||||
variant="solid"
|
||||
variant="soft"
|
||||
disabled={!allowAlias}
|
||||
onClick={async () => {
|
||||
setNewAliasUsername("");
|
||||
|
@ -298,7 +298,7 @@ export default function SelfService() {
|
|||
console.error(e);
|
||||
alert(e);
|
||||
}
|
||||
}}>Change</Button>
|
||||
}}>Create</Button>
|
||||
</Dialog.Close>
|
||||
</Flex>
|
||||
</Dialog.Content>
|
||||
|
@ -327,7 +327,7 @@ export default function SelfService() {
|
|||
<Table.Cell justify='end'>
|
||||
<Dialog.Root>
|
||||
<Dialog.Trigger>
|
||||
<Button variant="solid" size="1" mr="2">Delete</Button>
|
||||
<Button variant="soft" size="1" mr="2">Delete</Button>
|
||||
</Dialog.Trigger>
|
||||
|
||||
<Dialog.Content>
|
||||
|
@ -343,7 +343,7 @@ export default function SelfService() {
|
|||
</Dialog.Close>
|
||||
<Dialog.Close>
|
||||
<Button
|
||||
variant="solid"
|
||||
variant="soft"
|
||||
onClick={async () => {
|
||||
try {
|
||||
await deleteAlias(alias.alias);
|
||||
|
|
Loading…
Reference in a new issue