mirror of
https://github.com/runyanjake/jakeswestcoast.git
synced 2025-10-04 15:27:29 -07:00
19 lines
227 B
Docker
19 lines
227 B
Docker
FROM node:14 AS build
|
|
|
|
WORKDIR /app
|
|
|
|
COPY package*.json /app
|
|
|
|
RUN npm install
|
|
|
|
COPY . /app
|
|
|
|
RUN npm run build
|
|
|
|
FROM nginx:alpine
|
|
|
|
COPY --from=build /app/build /usr/share/nginx/html
|
|
|
|
EXPOSE 80
|
|
|
|
CMD ["nginx", "-g", "daemon off;"] |