SefyanKehail commited on
Commit
9230c66
·
1 Parent(s): 5b6951a
Files changed (1) hide show
  1. Dockerfile +11 -1
Dockerfile CHANGED
@@ -1,5 +1,15 @@
1
  FROM sefyankehail/accent-conversion:latest
2
 
 
 
 
 
 
 
 
 
 
 
3
  WORKDIR /app
4
 
5
- RUN pip install streamlit
 
1
  FROM sefyankehail/accent-conversion:latest
2
 
3
+ # Stage 1: Get the base image size
4
+ FROM sefyankehail/accent-conversion:latest as base
5
+
6
+ # Use this to run a command that retrieves the image size
7
+ RUN echo "Base image size: $(docker inspect --format='{{.Size}}' $(docker images -q sefyankehail/accent-conversion:latest))"
8
+
9
+ # Stage 2: Your application code
10
+ FROM base
11
+
12
+ COPY . /app
13
  WORKDIR /app
14
 
15
+ CMD ["./your-application"]