Projekt

Obecné

Profil

Stáhnout (282 Bajtů) Statistiky
| Větev: | Tag: | Revize:
1 f2c7d442 Ondřej Váně
### STAGE 1: BUILD ###
2
FROM node:13.10.1-alpine as build-stage
3
WORKDIR /app
4
COPY package.json ./
5
RUN npm install
6
COPY . .
7
RUN npm run build
8
9
### STAGE 2: RUN ###
10
FROM nginx:1.17.9-alpine as prod-stage
11
COPY --from=build-stage /app/dist/fulltextsearch /usr/share/nginx/html
12
EXPOSE 80