Spaces:
Runtime error
Runtime error
Update Dockerfile
Browse files- Dockerfile +4 -2
Dockerfile
CHANGED
@@ -4,8 +4,10 @@ USER root
|
|
4 |
|
5 |
ARG CONFIG="config.json"
|
6 |
|
7 |
-
RUN tmp=$(mktemp) \
|
8 |
-
jq '.init = 1' ${CONFIG} > "$tmp" &&
|
|
|
|
|
9 |
RUN python -u prep.py
|
10 |
|
11 |
CMD ["python", "train.py"]
|
|
|
4 |
|
5 |
ARG CONFIG="config.json"
|
6 |
|
7 |
+
RUN tmp=$(mktemp) && \
|
8 |
+
jq '.init = 1' "${CONFIG}" > "$tmp" && \
|
9 |
+
mv "$tmp" "${CONFIG}"
|
10 |
+
|
11 |
RUN python -u prep.py
|
12 |
|
13 |
CMD ["python", "train.py"]
|