spaceapi-ccc-de/frontend/Dockerfile
2023-09-23 12:57:01 +02:00

11 lines
228 B
Docker

FROM node:16-alpine 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