Trying bytecode compilation of .py files as Docker build step.
This commit is contained in:
parent
2e12296c0e
commit
cf5103a23a
|
@ -6,3 +6,4 @@
|
|||
wallet.json
|
||||
id.json
|
||||
private.py
|
||||
__pycache__
|
|
@ -16,5 +16,6 @@ RUN poetry install --no-dev --no-root
|
|||
|
||||
# Have these as the last steps since the code here is the most-frequently changing
|
||||
COPY . /app/
|
||||
RUN python3 -m compileall /app
|
||||
ARG LAST_COMMIT=""
|
||||
RUN echo ${LAST_COMMIT} > /app/data/.version
|
||||
|
|
Loading…
Reference in New Issue