Server: data persistence

This commit is contained in:
2020-11-28 16:23:21 -06:00
parent b0336fb495
commit 7979f74bea
9 changed files with 216 additions and 35 deletions

View File

@@ -1,6 +1,7 @@
FROM openjdk:8-jre-alpine
RUN mkdir /app
COPY uhabits-server.jar /app/uhabits-server.jar
ENV LOOP_REPO_PATH /data/
WORKDIR /app
CMD ["java", \
"-server", \