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