Created
April 1, 2023 17:30
-
-
Save mochaaP/3f505ce89d6039225cb3fd0ce7a10282 to your computer and use it in GitHub Desktop.
anisette server
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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