Compare commits

...

2 Commits
0.1.1 ... 0.1.2

Author SHA1 Message Date
5a1a6ef72a add dockerignore 2024-08-19 17:00:40 -05:00
3ad8ec7a64 change default port 2024-08-19 16:59:04 -05:00
2 changed files with 7 additions and 2 deletions

3
.dockerignore Normal file
View File

@@ -0,0 +1,3 @@
.DS_Store
node_modules
dist

View File

@@ -17,5 +17,7 @@ RUN pnpm run build
FROM base
COPY --from=prod-deps /app/node_modules /app/node_modules
COPY --from=build /app/dist /app/dist
EXPOSE 8000
CMD [ "pnpm", "start" ]
ENV HOST=0.0.0.0
ENV PORT=4321
EXPOSE 4321
CMD node ./dist/server/entry.mjs