forum-app/frontend/Dockerfile
2024-04-09 17:37:24 -04:00

14 lines
210 B
Docker

FROM node:alpine
WORKDIR /app
COPY ./app/package.json /app/package.json
RUN npm install
COPY ./app /app
RUN npm run build
RUN npm install -g serve
EXPOSE 3000
CMD ["serve", "-s", "--no-clipboard", "build"]