Skip to content

Commit

Permalink
Removed unnecesary entrypoint.
Browse files Browse the repository at this point in the history
  • Loading branch information
NeoRazorX committed Mar 16, 2020
1 parent ab5e7f1 commit 80e1216
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
8 changes: 3 additions & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,6 @@ RUN unzip -q /tmp/facturascripts.zip -d /usr/src/; \

VOLUME /var/www/html

# Entrypoint
COPY docker-entrypoint.sh /usr/local/bin/
RUN chmod +x /usr/local/bin/docker-entrypoint.sh
ENTRYPOINT ["docker-entrypoint.sh"]
CMD ["apache2-foreground"]
COPY facturascripts.sh /usr/local/bin/facturascripts
RUN chmod +x /usr/local/bin/facturascripts
CMD ["facturascripts"]
2 changes: 1 addition & 1 deletion docker-entrypoint.sh → facturascripts.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ if [ ! -f "$FILE" ]; then
chmod -R o+w /var/www/html
fi

exec "$@"
apache2-foreground

0 comments on commit 80e1216

Please sign in to comment.