Compare commits
2 Commits
Author | SHA1 | Date | |
---|---|---|---|
5a1a6ef72a | |||
3ad8ec7a64 |
3
.dockerignore
Normal file
3
.dockerignore
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
.DS_Store
|
||||||
|
node_modules
|
||||||
|
dist
|
@@ -17,5 +17,7 @@ RUN pnpm run build
|
|||||||
FROM base
|
FROM base
|
||||||
COPY --from=prod-deps /app/node_modules /app/node_modules
|
COPY --from=prod-deps /app/node_modules /app/node_modules
|
||||||
COPY --from=build /app/dist /app/dist
|
COPY --from=build /app/dist /app/dist
|
||||||
EXPOSE 8000
|
ENV HOST=0.0.0.0
|
||||||
CMD [ "pnpm", "start" ]
|
ENV PORT=4321
|
||||||
|
EXPOSE 4321
|
||||||
|
CMD node ./dist/server/entry.mjs
|
Reference in New Issue
Block a user