- Added all seven issued service trees without omissions. - Preserved the supplied runtime configuration, binaries, and assets.
17 lines
380 B
Docker
Executable File
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"]
|