pixai / Dockerfile
ghuser1's picture
Update Dockerfile
a41f9f3 verified
raw
history blame contribute delete
227 Bytes
FROM node:20-alpine
WORKDIR /app
RUN npm install -g pnpm
COPY package.json pnpm-lock.yaml* ./
RUN pnpm install --frozen-lockfile
COPY . .
RUN pnpm build
EXPOSE 7860
ENV HOST=0.0.0.0
ENV PORT=7860
CMD ["pnpm", "start"]