pdsmanager/Dockerfile
Atridad Lahiji 75efaf98c0
All checks were successful
Docker Deploy / build-and-push (push) Successful in 2m29s
Build
2025-01-26 14:40:30 -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"]