Files
mctf/delamain/go.Dockerfile
T
TakuyaYagam1 13f936bee9 chore: import MCTF services
- Added all seven issued service trees without omissions.
- Preserved the supplied runtime configuration, binaries, and assets.
2026-11-29 12:25:29 +03:00

17 lines
380 B
Docker
Executable File

FROM alpine:3.18
RUN apk add --no-cache ca-certificates && \
addgroup -g 1000 -S app && adduser -u 1000 -S app -G app && \
mkdir -p /app/frontend /var/run/delamain && \
chown -R app:app /app /var/run/delamain
COPY bin/delamain-server /app/server
COPY frontend ./frontend.bundled
USER app
WORKDIR /app
ENV FRONTEND_DIR=/app/frontend
EXPOSE 8080
CMD ["/app/server"]