You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is a start on some notes towards add a Dockerfile to the root of the repo which can be used to generate a production-ready image holding the application code.
.dockerignore
**.temp
**.log
build/**
node_modules/**
vendor/**
Dockerfile
FROM outrigger/build:php70 as builder
COPY . /var/www
RUN cd /var/www && \
NPM_CONFIG_LOGLEVEL=error npm install && \
grunt --timer && \
// Reshape as a contained deliverable without symlinks.
// @TODO currently this strips the symlinks, it is not crafting the operational codebase yet.
rysnc -ahWL --no-l --chmod=Du+rwx /var/www/build/html /opt/deploy
FROM outrigger/apache-php:php70
COPY --from=builder /opt/deploy /var/www/html
The text was updated successfully, but these errors were encountered:
This is a start on some notes towards add a Dockerfile to the root of the repo which can be used to generate a production-ready image holding the application code.
.dockerignore
Dockerfile
The text was updated successfully, but these errors were encountered: