snort/Dockerfile

10 lines
266 B
Docker
Raw Normal View History

2023-02-09 19:02:20 +00:00
FROM node:16 as build
WORKDIR /app
COPY package*.json yarn.lock .
RUN yarn install --network-timeout 1000000
2023-02-09 19:02:20 +00:00
COPY . .
RUN yarn build
2023-02-12 19:10:10 +00:00
FROM nginx:mainline-alpine
COPY docker/nginx.conf /etc/nginx/conf.d/default.conf
2023-02-09 19:02:20 +00:00
COPY --from=build /app/build /usr/share/nginx/html