mirror of
https://github.com/OpenFusionProject/OpenFusion.git
synced 2024-11-22 13:30:06 +00:00
Compare commits
2 Commits
c035662b10
...
16d666c8d7
Author | SHA1 | Date | |
---|---|---|---|
|
16d666c8d7 | ||
|
352fa8a133 |
@ -23,6 +23,10 @@ RUN make -j8
|
|||||||
# prod
|
# prod
|
||||||
FROM alpine:3
|
FROM alpine:3
|
||||||
|
|
||||||
|
ENV AUTHENTICATION_PORT 23000
|
||||||
|
ENV MONITORING_PORT 8003
|
||||||
|
ENV SHARDING_PORT 23001
|
||||||
|
|
||||||
WORKDIR /usr/src/app
|
WORKDIR /usr/src/app
|
||||||
|
|
||||||
RUN apk update && apk upgrade && apk add \
|
RUN apk update && apk upgrade && apk add \
|
||||||
@ -32,6 +36,10 @@ sqlite-dev
|
|||||||
COPY --from=build /usr/src/app/bin/fusion /bin/fusion
|
COPY --from=build /usr/src/app/bin/fusion /bin/fusion
|
||||||
COPY sql ./sql
|
COPY sql ./sql
|
||||||
|
|
||||||
|
EXPOSE $AUTHENTICATION_PORT
|
||||||
|
EXPOSE $MONITORING_PORT
|
||||||
|
EXPOSE $SHARDING_PORT
|
||||||
|
|
||||||
CMD ["/bin/fusion"]
|
CMD ["/bin/fusion"]
|
||||||
|
|
||||||
LABEL Name=openfusion Version=0.0.2
|
LABEL Name=openfusion Version=0.0.2
|
||||||
|
Loading…
Reference in New Issue
Block a user