pdsmanager/Dockerfile
Atridad Lahiji 2b802bf259
All checks were successful
Docker Deploy / build-and-push (push) Successful in 1m13s
Init
2025-01-26 17:22:48 -06:00

18 lines
250 B
Docker

FROM node:lts AS runtime
WORKDIR /app
# Copy files
COPY . .
# Install pnpm
RUN npm i -g pnpm
# Install dependencies and build
RUN pnpm install
RUN pnpm run build
ENV HOST=0.0.0.0
ENV PORT=4321
EXPOSE 4321
CMD ["node", "./dist/server/entry.mjs"]