blob: c37d4168e0e5cd29ea280bb3287baffd8d4bc9d5 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
FROM FROM ubuntu:20.04
# Install tools and libraries
RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -qq git golang libpcap-dev pkg-config libhyperscan-dev npm
ENV GIN_MODE release
COPY . /caronte
WORKDIR /caronte
RUN go mod download && go build
RUN npm i --global yarn && cd frontend && yarn install && yarn build
CMD ./caronte
|