Pünkösd Marcell
0227b6618e
All checks were successful
continuous-integration/drone/push Build is passing
9 lines
239 B
Docker
9 lines
239 B
Docker
FROM node:lts AS build
|
|
ADD . /app
|
|
WORKDIR /app
|
|
RUN npx browserslist@latest --update-db
|
|
RUN npm install && npm run build
|
|
|
|
FROM nginx:stable
|
|
COPY --from=build /app/dist /usr/share/nginx/html
|
|
ADD nginx-site.conf /etc/nginx/conf.d/default.conf |