14 lines
210 B
Docker
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"]
|