Docker Image
-
docker image 만들기docker 2021. 6. 1. 22:59
1. Dockerfile, app.py 를 준비 https://github.com/mmumshad/simple-webapp-flask 을 참고해 Dockerfile FROM ubuntu:18.04 ENV TZ=Asia/Seoul ENV LANG=ko_KR.UTF-8 # ENV PATH="${PATH}:/home/windbird/.local/bin" # USER irteam # ADD --chown=irteam:irteam ./server/target/universal/stage /app/ RUN apt-get update && apt-get install -y python python-pip RUN pip install --upgrade pip && pip install flask COPY app.py ..