AstroCol/Dockerfile

17 lines
167 B
Docker
Raw Permalink Normal View History

2024-06-01 20:30:39 +00:00
FROM node:20.8.0 AS runtime
WORKDIR /app
COPY . .
RUN npm install
RUN npm run build
ENV HOST=0.0.0.0
ENV PORT=4321
EXPOSE 4321
CMD node ./dist/server/entry.mjs