mirror of
https://gitlab.com/flectra-community/devops/odoo-2-flectra-converter.git
synced 2024-12-03 10:32:08 +00:00
18 lines
427 B
Docker
18 lines
427 B
Docker
FROM python:3-alpine
|
|
|
|
MAINTAINER Jamotion <info@jamotion.ch>
|
|
|
|
RUN pip install --no-cache-dir jinja2
|
|
|
|
RUN mkdir -p /opt/migrator/migrator
|
|
RUN mkdir -p /opt/migrator/data
|
|
COPY migrator /opt/migrator/migrator
|
|
ADD migrate_repository.py /opt/migrator/
|
|
RUN chmod 0666 /opt/migrator/migrate_repository.py
|
|
|
|
WORKDIR /opt/migrator/data
|
|
VOLUME /opt/migrator/data
|
|
|
|
ENTRYPOINT ["python", "/opt/migrator/migrate_repository.py"]
|
|
CMD ["-h"]
|