hackernews_radio / Dockerfile
engineera1's picture
updated the config and files
a5efc6c
Raw
History Blame Contribute Delete
302 Bytes
FROM node:22-alpine AS builder
WORKDIR /app
COPY package*.json ./
RUN npm install
COPY . .
RUN npx vite build
FROM nginx:alpine
COPY --from=builder /app/dist /usr/share/nginx/html
EXPOSE 7860
RUN sed -i 's/listen\s*80;/listen 7860;/g' /etc/nginx/conf.d/default.conf
CMD ["nginx", "-g", "daemon off;"]