* use redis

* update frontend and switch sanitize library

* changelog

* theming

* docker image

* documentation

* changelog

* clear up limit sizes

* version bump

* version bump
This commit is contained in:
2022-07-16 14:16:54 +02:00
committed by GitHub
parent 0913a8ad0c
commit 9590c9b567
30 changed files with 838 additions and 828 deletions

View File

@@ -1,7 +1,7 @@
# FRONTEND
FROM node:16-alpine as client
WORKDIR /tmp
RUN npm install -g pnpm
RUN npm install -g pnpm@7
COPY ./frontend ./
RUN pnpm install
RUN pnpm run build
@@ -18,9 +18,8 @@ RUN cargo build --release
# RUNNER
FROM alpine
WORKDIR /app
COPY ./entry.sh .
COPY --from=backend /tmp/target/release/cryptgeon .
COPY --from=client /tmp/build ./frontend/build
ENV MEMCACHE=memcached:11211
ENV REDIS=redis://redis/
EXPOSE 5000
ENTRYPOINT [ "/app/entry.sh" ]
ENTRYPOINT [ "/app/cryptgeon" ]