mirror of
https://git.zavage.net/Zavage-Software/skrill-frontend.git
synced 2025-01-18 11:23:42 -07:00
28 lines
350 B
Docker
28 lines
350 B
Docker
FROM node:alpine As builder
|
|
|
|
WORKDIR /app
|
|
|
|
COPY package.json package-lock.json ./
|
|
|
|
RUN npm install
|
|
|
|
# COPY . .
|
|
|
|
RUN npm run build --prod
|
|
|
|
FROM nginx:latest
|
|
|
|
COPY dist/angular-starter /usr/share/nginx/html
|
|
COPY config/default.conf /etc/nginx/conf.d/default.conf
|
|
# COPY --from=builder /usr/src/app/dist/angular-starter/ /usr/share/nginx/html
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|