10 lines
172 B
Docker
10 lines
172 B
Docker
|
FROM node:lts-alpine
|
||
|
RUN npm install -g http-server
|
||
|
WORKDIR /app
|
||
|
COPY package*.json ./
|
||
|
RUN npm install
|
||
|
COPY . .
|
||
|
RUN npm run build
|
||
|
|
||
|
EXPOSE 8080
|
||
|
CMD [ "http-server", "dist" ]
|