13 lines
212 B
Docker
13 lines
212 B
Docker
|
|
# Lightweight server — .output is bind-mounted from the host.
|
||
|
|
FROM node:current-slim
|
||
|
|
|
||
|
|
WORKDIR /app
|
||
|
|
|
||
|
|
ENV HOST=0.0.0.0
|
||
|
|
ENV PORT=3000
|
||
|
|
ENV NODE_ENV=production
|
||
|
|
|
||
|
|
EXPOSE 3000
|
||
|
|
|
||
|
|
CMD ["node", ".output/server/index.mjs"]
|