Skip to content
Snippets Groups Projects
Commit d953796b authored by Janne Mareike Koschinski's avatar Janne Mareike Koschinski
Browse files

Improve dockerfile

parent c00eac5a
No related branches found
No related tags found
No related merge requests found
FROM node:latest AS builder
COPY . /build/
COPY package*.json /build/
WORKDIR /build/
RUN npm install && \
npm build
RUN npm install
RUN npm build
COPY . /build/
FROM nginx:latest
COPY --from=builder /build/ /usr/share/nginx/html/
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment