Compare commits

..

1 Commits

Author SHA1 Message Date
8b693e564e
Merge 37386b857a into cada1bcfd8 2024-10-14 22:59:28 -07:00
2 changed files with 6 additions and 8 deletions

View File

@ -1,5 +1,5 @@
# build
FROM debian:stable-slim AS build
FROM debian:stable-slim as build
WORKDIR /usr/src/app
@ -14,7 +14,7 @@ COPY vendor ./vendor
COPY .git ./.git
COPY Makefile CMakeLists.txt version.h.in ./
RUN make nosandbox -j$(nproc)
RUN make -j8
# prod
FROM debian:stable-slim
@ -29,8 +29,4 @@ COPY sql ./sql
CMD ["/bin/fusion"]
EXPOSE 23000/tcp
EXPOSE 23001/tcp
EXPOSE 8001/tcp
LABEL Name=openfusion Version=1.6.0
LABEL Name=openfusion Version=0.0.2

View File

@ -1,9 +1,11 @@
version: '3.4'
services:
openfusion:
image: openfusion
build:
context: .
dockerfile: ./Dockerfile
image: openfusion/openfusion:latest
volumes:
- ./config.ini:/usr/src/app/config.ini
- ./database.db:/usr/src/app/database.db