mirror of
https://git.zavage.net/Zavage-Software/skrill-frontend.git
synced 2025-01-18 06:00:41 -07:00
16 lines
255 B
Docker
16 lines
255 B
Docker
|
FROM node:14.19.1-alpine As builder
|
||
|
|
||
|
WORKDIR /usr/src/app
|
||
|
|
||
|
COPY package.json package-lock.json ./
|
||
|
|
||
|
RUN npm install
|
||
|
|
||
|
COPY . .
|
||
|
|
||
|
RUN npm run build --prod
|
||
|
|
||
|
FROM nginx:1.15.8-alpine
|
||
|
|
||
|
COPY --from=builder /usr/src/app/dist/angular-starter/ /usr/share/nginx/html
|