Files
Aether/Dockerfile.app
2025-12-10 20:52:44 +08:00

17 lines
475 B
Erlang
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

#
# : docker build -f Dockerfile.app -t aether-app:latest .
FROM aether-base:latest
WORKDIR /app
#
COPY src/ ./src/
COPY alembic.ini ./
COPY alembic/ ./alembic/
# 使 node_modules
COPY frontend/ /tmp/frontend/
RUN cd /tmp/frontend && npm run build && \
cp -r dist/* /usr/share/nginx/html/ && \
rm -rf /tmp/frontend