Zok213 commited on
Commit ·
9c1cc8f
1
Parent(s): 7358a9e
Add build version label to Dockerfile to enforce rebuilds when necessary
Browse files- Dockerfile +3 -0
Dockerfile
CHANGED
|
@@ -8,6 +8,9 @@ ENV PYTHONDONTWRITEBYTECODE=1 \
|
|
| 8 |
PYTHONUNBUFFERED=1 \
|
| 9 |
PORT=7860
|
| 10 |
|
|
|
|
|
|
|
|
|
|
| 11 |
# Install only the required system dependencies
|
| 12 |
RUN apt-get update && apt-get install -y --no-install-recommends \
|
| 13 |
gcc \
|
|
|
|
| 8 |
PYTHONUNBUFFERED=1 \
|
| 9 |
PORT=7860
|
| 10 |
|
| 11 |
+
# Add build version to force rebuild when needed
|
| 12 |
+
LABEL build_version="1.0.1"
|
| 13 |
+
|
| 14 |
# Install only the required system dependencies
|
| 15 |
RUN apt-get update && apt-get install -y --no-install-recommends \
|
| 16 |
gcc \
|