Skip to content

Commit

Permalink
Merge pull request #7 from jihyungSong/master
Browse files Browse the repository at this point in the history
Update Dockerfile to base image python:3-slim
  • Loading branch information
jihyungSong committed Feb 15, 2023
2 parents e8ab826 + 6364844 commit 7811a73
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
FROM python:3.8
FROM python:3-slim

ENV PYTHONUNBUFFERED 1
ENV SPACEONE_PORT 50051
ENV SERVER_TYPE grpc
ENV PKG_DIR /tmp/pkg
ENV SRC_DIR /tmp/src

RUN apt update && apt upgrade -y

COPY pkg/*.txt ${PKG_DIR}/
RUN pip install --upgrade pip && \
pip install --upgrade -r ${PKG_DIR}/pip_requirements.txt && \
Expand Down

0 comments on commit 7811a73

Please sign in to comment.