mirror of
https://github.com/freedomofpress/dangerzone.git
synced 2025-05-17 10:41:49 +02:00
FIXUP: Copy all the Python files from the conversion/ dir
This commit is contained in:
parent
92d8a4c556
commit
9daf30154b
2 changed files with 4 additions and 10 deletions
|
@ -61,11 +61,8 @@ RUN adduser --uid 1000 --ingroup dangerzone --shell /bin/true \
|
|||
RUN mkdir -p /opt/dangerzone/dangerzone
|
||||
RUN touch /opt/dangerzone/dangerzone/__init__.py
|
||||
|
||||
COPY conversion/doc_to_pixels.py \
|
||||
conversion/common.py \
|
||||
conversion/errors.py \
|
||||
conversion/__init__.py \
|
||||
/opt/dangerzone/dangerzone/conversion
|
||||
# Copy only the Python code, and not any produced .pyc files.
|
||||
COPY conversion/*.py /opt/dangerzone/dangerzone/conversion
|
||||
|
||||
# Let the entrypoint script write the OCI config for the inner container under
|
||||
# /config.json.
|
||||
|
|
|
@ -61,11 +61,8 @@ RUN adduser --uid 1000 --ingroup dangerzone --shell /bin/true \
|
|||
RUN mkdir -p /opt/dangerzone/dangerzone
|
||||
RUN touch /opt/dangerzone/dangerzone/__init__.py
|
||||
|
||||
COPY conversion/doc_to_pixels.py \
|
||||
conversion/common.py \
|
||||
conversion/errors.py \
|
||||
conversion/__init__.py \
|
||||
/opt/dangerzone/dangerzone/conversion
|
||||
# Copy only the Python code, and not any produced .pyc files.
|
||||
COPY conversion/*.py /opt/dangerzone/dangerzone/conversion
|
||||
|
||||
# Let the entrypoint script write the OCI config for the inner container under
|
||||
# /config.json.
|
||||
|
|
Loading…
Reference in a new issue