This repository has been archived on 2024-07-27. You can view files and clone it, but cannot push or open issues or pull requests.
|
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" ] |