add dockerfile

This commit is contained in:
2024-08-19 16:10:41 -05:00
parent a7bd008bbc
commit 25762b76eb

12
Dockerfile Normal file
View File

@@ -0,0 +1,12 @@
FROM 20.16.0-alpine3.20 AS runtime
WORKDIR /app
COPY . .
RUN pnpm install
RUN pnpm run build
ENV HOST=0.0.0.0
ENV PORT=4321
EXPOSE 4321
CMD node ./dist/server/entry.mjs