* preliminary map for vehicles * weird zoom bug * passing react tests * fixing warnings and updating snapshots * update node environment to 14 * addressing comments by changing variable types and adding styles to home page title * adding CODEOWNERS file * fixing token error
11 lines
221 B
Docker
11 lines
221 B
Docker
FROM node:14-alpine as builder
|
|
|
|
COPY package*.json ./
|
|
RUN npm install
|
|
COPY . .
|
|
RUN npm run build
|
|
|
|
FROM nginx:alpine
|
|
|
|
COPY --from=builder build /usr/share/nginx/html
|
|
COPY nginx.conf /etc/nginx/conf.d/default.conf |