Skip to content

Commit

Permalink
build: update Dockerfile to base image python:3-slim (cloudforet-io#6)
Browse files Browse the repository at this point in the history
  • Loading branch information
jiyungSong committed Feb 15, 2023
1 parent ab98fc0 commit 221697e
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 221697e

Please sign in to comment.