Ditch SSR method
This commit is contained in:
parent
56b61b2c1e
commit
f68bb92804
5 changed files with 5 additions and 32 deletions
10
Dockerfile
10
Dockerfile
|
@ -19,7 +19,7 @@
|
|||
|
||||
# Base
|
||||
## For AMD64 Servers:
|
||||
FROM ark.sudovanilla.org/korbs/bun:arm64 AS based
|
||||
FROM ark.sudovanilla.org/korbs/bun:amd64 AS based
|
||||
## For ARM64 Servers:
|
||||
## FROM ark.sudovanilla.org/korbs/bun:arm64 as based
|
||||
|
||||
|
@ -30,10 +30,6 @@ COPY . .
|
|||
# Run in Production
|
||||
ENV NODE_ENV=production
|
||||
|
||||
# Build
|
||||
RUN bun install && bun run build
|
||||
|
||||
# Run
|
||||
USER bun
|
||||
EXPOSE 2014/tcp
|
||||
CMD bun ./dist/server/entry.mjs
|
||||
EXPOSE 2014
|
||||
CMD bun run build && bun start
|
Loading…
Add table
Add a link
Reference in a new issue