Use serve instead

This commit is contained in:
Luke Murphy
2020-11-25 09:33:31 +01:00
parent 7828e73113
commit cb3660fdd1
3 changed files with 8 additions and 10 deletions

View File

@ -1,13 +1,11 @@
FROM node:alpine
EXPOSE 8081
EXPOSE 5000
COPY ./docs /app
RUN npm i -g serve
COPY . /app
WORKDIR /app
RUN apk add --no-cache curl
RUN npm install http-server
CMD ["npm", "start"]
CMD ["npm", "run", "start"]