Files
EventHubBack/docker/erlang/Dockerfile.runtime
T
aleksey 29111cd514 feat(upload): avatar and calendar cover via local disk storage.
POST /v1/user/me/avatar and /v1/calendars/:id/cover; GET /v1/media;
UPLOAD_DIR on eventhub-data volume; MIME/size limits.
Refs EventHub/EventHubBack#71
Refs EventHub/EventHubSpec#8
2026-08-14 21:27:34 +03:00

14 lines
473 B
Docker

# EventHub — runtime: libs для relx-release (ERTS внутри release).
# ALPINE_VERSION MUST match erlang:28-alpine (сейчас 3.23).
# Публикуется как git.sabilin.com/eventhub/erlang-runtime:latest
ARG ALPINE_VERSION=3.23
FROM alpine:${ALPINE_VERSION}
RUN apk add --no-cache \
openssl libstdc++ libgcc ncurses-libs libsodium \
file \
&& mkdir -p /app/data /app/data/uploads \
&& chmod 777 /app/data /app/data/uploads
WORKDIR /app