Skip to content
Snippets Groups Projects
Commit 13a34a75 authored by beguin erwan's avatar beguin erwan
Browse files

dockerfile improvement

parent c0c44290
No related branches found
No related tags found
No related merge requests found
Pipeline #96366 passed
# build environment
FROM quay.io/node:13.12.0 as build
FROM docker.io/node:13.12.0 as build
# RUN apt-get clean
# RUN rm -rf /var/lib/apt/lists/*
......@@ -19,7 +19,7 @@ RUN npm run build
# production environment
FROM quay.io/nginx:stable-alpine
FROM docker.io/nginx:stable-alpine
COPY --from=build /app/build /usr/share/nginx/html
# new
COPY nginx/nginx.conf /etc/nginx/conf.d/default.conf
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment