-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathDockerfile
More file actions
24 lines (21 loc) · 969 Bytes
/
Dockerfile
File metadata and controls
24 lines (21 loc) · 969 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
FROM fireboomapi/base-builder-fireboom:latest as builder
COPY . .
ENV GOPROXY=https://proxy.golang.org,direct
RUN sh scripts/build.sh
FROM fireboomapi/base-runner-fireboom:latest AS final
WORKDIR /app
COPY --from=builder /build/release/fireboom /usr/local/bin/fireboom
#VOLUME [ "store", "upload", "exported", "generated-sdk", "authentication.key", "license.key", "custom-go", "custom-ts", "custom-python", "custom-java" ]
EXPOSE 9123 9991
# ENV FB_API_PUBLIC_URL="http://localhost:9991"
ENV FB_API_INTERNAL_URL="http://localhost:9991"
ENV FB_API_LISTEN_HOST="0.0.0.0"
ENV FB_API_LISTEN_PORT=9991
ENV FB_SERVER_LISTEN_HOST="localhost"
ENV FB_SERVER_LISTEN_PORT=9992
ENV FB_SERVER_URL="http://localhost:9992"
ENV FB_LOG_LEVEL="DEBUG"
ENV FB_REPO_URL_MIRROR="https://proxy.fireboom.io/https://github.com/{orgName}/{repoName}.git"
ENV FB_RAW_URL_MIRROR="https://raw.git.fireboom.io/{orgName}/{repoName}/{branchName}/{filePath}"
ENTRYPOINT [ "fireboom" ]
CMD [ "start" ]