mirror of
https://github.com/Cian-H/am-d-model-data-repository.git
synced 2025-12-22 22:11:56 +00:00
First commit
This commit is contained in:
29
Dockerfile
Normal file
29
Dockerfile
Normal file
@@ -0,0 +1,29 @@
|
||||
# Dockerfile that builds a fully functional image of your app.
|
||||
#
|
||||
# This image installs all Python dependencies for your application. It's based
|
||||
# on Almalinux (https://github.com/inveniosoftware/docker-invenio)
|
||||
# and includes Pip, Pipenv, Node.js, NPM and some few standard libraries
|
||||
# Invenio usually needs.
|
||||
#
|
||||
# Note: It is important to keep the commands in this file in sync with your
|
||||
# bootstrap script located in ./scripts/bootstrap.
|
||||
|
||||
FROM registry.cern.ch/inveniosoftware/almalinux:1
|
||||
|
||||
COPY site ./site
|
||||
COPY Pipfile Pipfile.lock ./
|
||||
RUN pipenv install --deploy --system
|
||||
|
||||
COPY ./docker/uwsgi/ ${INVENIO_INSTANCE_PATH}
|
||||
COPY ./invenio.cfg ${INVENIO_INSTANCE_PATH}
|
||||
COPY ./templates/ ${INVENIO_INSTANCE_PATH}/templates/
|
||||
COPY ./app_data/ ${INVENIO_INSTANCE_PATH}/app_data/
|
||||
COPY ./translations/ ${INVENIO_INSTANCE_PATH}/translations/
|
||||
COPY ./ .
|
||||
|
||||
RUN cp -r ./static/. ${INVENIO_INSTANCE_PATH}/static/ && \
|
||||
cp -r ./assets/. ${INVENIO_INSTANCE_PATH}/assets/ && \
|
||||
invenio collect --verbose && \
|
||||
invenio webpack buildall
|
||||
|
||||
ENTRYPOINT [ "bash", "-c"]
|
||||
Reference in New Issue
Block a user