- Introduced common.js for shared functions including API calls, error reporting, and UI helpers. - Implemented feedback.js for the feedback reporting page, including form handling and displaying feedback status. - Added layout.js for managing galaxy and section layouts in the visualization. - Created login.js for user authentication with session management. - Developed search.js for term searching based on user input and synonyms. - Implemented signup.js for user registration with validation and immediate login.
22 lines
713 B
Docker
22 lines
713 B
Docker
# 지역사회간호학 개념 우주 웹서버 (Apple container / Docker 공용)
|
|
FROM python:3.12-slim
|
|
|
|
ENV PYTHONUNBUFFERED=1 \
|
|
PIP_NO_CACHE_DIR=1 \
|
|
LANG=C.UTF-8 \
|
|
ATLAS_DB=/app/data/atlas.db \
|
|
ATLAS_JSON=/app/seed/atlas.json
|
|
|
|
WORKDIR /app
|
|
COPY requirements-server.txt .
|
|
RUN pip install -r requirements-server.txt
|
|
|
|
COPY server/ server/
|
|
COPY web/ web/
|
|
# 파이프라인 결과(시작 시 DB로 가져옴). DB·비밀번호는 /app/data(마운트)에 저장된다.
|
|
COPY data/atlas.json seed/atlas.json
|
|
|
|
EXPOSE 8088
|
|
HEALTHCHECK CMD python -c "import urllib.request; urllib.request.urlopen('http://127.0.0.1:8088/api/admin/me')"
|
|
CMD ["python", "-m", "server", "--host", "0.0.0.0", "--port", "8088"]
|