uncloseai.com/public/languages/elixir/openai/Dockerfile

21 lines
454 B
Docker

# PUBLIC DOMAIN - NO LICENSE, NO WARRANTY
# Copyright 2025 TimeHexOn & foxhop & russell@unturf
# https://www.permacomputer.com
# Use official Elixir image
FROM elixir:1.17-alpine
WORKDIR /app
# Install hex and rebar
RUN mix local.hex --force && \
mix local.rebar --force
# Copy mix files and install dependencies
COPY mix.exs ./
RUN mix deps.get && mix deps.compile
# Copy application code
COPY uncloseai.exs ./
CMD ["elixir", "uncloseai.exs"]