Changing db location.

master
Thomas Hintz 1 year ago
parent 526c4ae365
commit a4c41785ce

@ -48,11 +48,11 @@ WORKDIR /farm
RUN mkdir dist
COPY --from=buildfe /farm/dist /farm/dist
RUN cp src/server/farm dist/; \
chmod +x dist/farm; \
touch dist/db
chmod +x dist/farm
FROM farm as run
WORKDIR /farm/dist
RUN touch /farmdb/db
ENTRYPOINT ["./farm"]
CMD ["-:a50"]
# CMD ./farm

@ -1,7 +1,7 @@
(use sql-de-lite crypt)
;; (define *db* "/home/tjhintz/db")
(define *db* "/farm/dist/db")
(define *db* "/farmdb/db")
(define-syntax with-db
(syntax-rules ()

Loading…
Cancel
Save