Skip to content
This repository was archived by the owner on Mar 11, 2022. It is now read-only.

Commit 065cad1

Browse files
committed
Build shoppingcart image
1 parent bfe8e6b commit 065cad1

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

shoppingcart/Dockerfile

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
FROM python:3.8.0-slim
22

33
COPY . /app
4-
RUN apt-get update \
5-
&& apt-get install gcc -y \
6-
&& apt-get clean
4+
WORKDIR /app
5+
RUN pip install --user -r requirements.txt && \
6+
pip install wheel && \
7+
python setup.py bdist_wheel && \
8+
pip install dist/cloudstate-0.5.0-py3-none-any.whl
79

8-
WORKDIR app
9-
RUN pip install --user -r requirements.txt
1010
ENTRYPOINT python shopping_cart.py

0 commit comments

Comments
 (0)