spaceapi-ccc-de/frontend/Dockerfile
2018-04-20 18:08:55 +02:00

11 lines
218 B
Docker

FROM node as builder
WORKDIR /app
COPY . .
RUN npm install
RUN npm run build
FROM nginx:alpine
COPY --from=builder /app/build/ /usr/share/nginx/html/
RUN mkdir -p /tmp/osm/cache
COPY nginx.conf /etc/nginx/nginx.conf