10 lines
No EOL
165 B
Docker
10 lines
No EOL
165 B
Docker
FROM node:lts
|
|
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" ] |