easy to deploy
This commit is contained in:
13
dockerfile
Normal file
13
dockerfile
Normal file
@@ -0,0 +1,13 @@
|
|||||||
|
# Use the lightweight node
|
||||||
|
FROM node:22-alpine
|
||||||
|
|
||||||
|
WORKDIR /app
|
||||||
|
COPY .output .
|
||||||
|
|
||||||
|
ENV PORT=3000
|
||||||
|
ENV HOST=0.0.0.0
|
||||||
|
|
||||||
|
VOLUME ["/app"]
|
||||||
|
|
||||||
|
CMD ["node","server/index.mjs"]
|
||||||
|
|
||||||
Reference in New Issue
Block a user