Skip to content

Instantly share code, notes, and snippets.

@mochaaP
Created April 1, 2023 17:30
Show Gist options
  • Save mochaaP/3f505ce89d6039225cb3fd0ce7a10282 to your computer and use it in GitHub Desktop.
Save mochaaP/3f505ce89d6039225cb3fd0ce7a10282 to your computer and use it in GitHub Desktop.
anisette server
FROM dadoum/anisette-server:latest AS app
FROM debian:unstable-slim AS base
ENV DEBIAN_INTERFACE=noninteractive
RUN apt-get update && apt-get install -y libcurl4
FROM base AS builder
WORKDIR /app
COPY --from=app /opt/anisette_server /app/server
RUN /app/server --init-only
FROM base
COPY --from=builder /app /app
WORKDIR /app
CMD /app/server -n 0.0.0.0 -p 8080 -a /data -r
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment