Changing db location.

master
Thomas Hintz 1 year ago
parent 526c4ae365
commit a4c41785ce

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

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

Loading…
Cancel
Save