-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
27 lines (21 loc) · 725 Bytes
/
Dockerfile
File metadata and controls
27 lines (21 loc) · 725 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
FROM debian:bookworm-slim
WORKDIR /app
RUN apt-get update && \
apt-get install -y --no-install-recommends \
ca-certificates \
libgmp10 \
netbase && \
rm -rf /var/lib/apt/lists/*
# Copy server binary
COPY .stack-work/install/*/*/*/bin/server /app/server
# Copy assets (run 'make release' before building to get optimized elm.js)
COPY assets/elm.js ./assets/elm.js
COPY assets/sse.js ./assets/sse.js
COPY assets/sound.js ./assets/sound.js
COPY assets/favicon.svg ./assets/favicon.svg
COPY assets/index.html ./assets/index.html
COPY assets/style.css ./assets/style.css
COPY assets/mp3/ ./assets/mp3/
# Note: Onitama_Logo.svg and elm.min.js are excluded from Docker image
EXPOSE 8080
CMD ["/app/server"]