blob: 9d186a7c4c170ed06cef6aeb4e921b0f539ddb69 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
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
|