restore original dockerfiles

This commit is contained in:
dandds 2018-10-25 10:17:58 -04:00
parent d8ea3f71c6
commit 9ca469c28a
2 changed files with 1 additions and 7 deletions

View File

@ -21,7 +21,7 @@ EXPOSE "${APP_PORT}"
ENTRYPOINT ["/usr/bin/dumb-init", "--"]
# Default command is to launch the server
CMD ["bash", "-c", "crond -b && ${APP_DIR}/script/uwsgi_server"]
CMD ["bash", "-c", "${APP_DIR}/script/uwsgi_server"]
### Items that will change almost every build
#############################################
@ -41,9 +41,6 @@ WORKDIR ${APP_DIR}
RUN set -x ; \
script/alpine_setup "${APP_USER}" "${APP_GROUP}"
# add sync-crl cronjob for atst user
RUN echo "1 */6 * * * /opt/atat/atst/script/sync-crls tests/crl-tmp" >> /etc/crontabs/atst
# Update file ownership
RUN set -x ; \
for subdir in $(find . -type d -maxdepth 1 | grep -Ee '.[^/]' | grep -Fve 'node_modules'); do chown atst:atat -R ${subdir}; done

View File

@ -27,9 +27,6 @@ WORKDIR ${APP_DIR}
# Copy over setup scripts
COPY script/ ./script/
# add sync-crl cronjob for atst user
RUN echo "1 */6 * * * /opt/atat/atst/script/sync-crls tests/crl-tmp" >> /etc/crontabs/atst
# Add required system packages and app user
RUN set -x ; \
script/alpine_setup