mirror of
https://github.com/OpenFusionProject/OpenFusion.git
synced 2024-11-24 14:01:05 +00:00
Compare commits
1 Commits
cd6aee2fae
...
8b693e564e
Author | SHA1 | Date | |
---|---|---|---|
8b693e564e |
10
Dockerfile
10
Dockerfile
@ -1,5 +1,5 @@
|
|||||||
# build
|
# build
|
||||||
FROM debian:stable-slim AS build
|
FROM debian:stable-slim as build
|
||||||
|
|
||||||
WORKDIR /usr/src/app
|
WORKDIR /usr/src/app
|
||||||
|
|
||||||
@ -14,7 +14,7 @@ COPY vendor ./vendor
|
|||||||
COPY .git ./.git
|
COPY .git ./.git
|
||||||
COPY Makefile CMakeLists.txt version.h.in ./
|
COPY Makefile CMakeLists.txt version.h.in ./
|
||||||
|
|
||||||
RUN make nosandbox -j$(nproc)
|
RUN make -j8
|
||||||
|
|
||||||
# prod
|
# prod
|
||||||
FROM debian:stable-slim
|
FROM debian:stable-slim
|
||||||
@ -29,8 +29,4 @@ COPY sql ./sql
|
|||||||
|
|
||||||
CMD ["/bin/fusion"]
|
CMD ["/bin/fusion"]
|
||||||
|
|
||||||
EXPOSE 23000/tcp
|
LABEL Name=openfusion Version=0.0.2
|
||||||
EXPOSE 23001/tcp
|
|
||||||
EXPOSE 8001/tcp
|
|
||||||
|
|
||||||
LABEL Name=openfusion Version=1.6.0
|
|
||||||
|
@ -1,9 +1,11 @@
|
|||||||
|
version: '3.4'
|
||||||
|
|
||||||
services:
|
services:
|
||||||
openfusion:
|
openfusion:
|
||||||
|
image: openfusion
|
||||||
build:
|
build:
|
||||||
context: .
|
context: .
|
||||||
dockerfile: ./Dockerfile
|
dockerfile: ./Dockerfile
|
||||||
image: openfusion/openfusion:latest
|
|
||||||
volumes:
|
volumes:
|
||||||
- ./config.ini:/usr/src/app/config.ini
|
- ./config.ini:/usr/src/app/config.ini
|
||||||
- ./database.db:/usr/src/app/database.db
|
- ./database.db:/usr/src/app/database.db
|
||||||
|
Loading…
Reference in New Issue
Block a user