Skip to content

Instantly share code, notes, and snippets.

@Neirda24
Created April 28, 2020 16:49
Show Gist options
  • Save Neirda24/56980bce4d993fc07f3fd35a855da0f0 to your computer and use it in GitHub Desktop.
Save Neirda24/56980bce4d993fc07f3fd35a855da0f0 to your computer and use it in GitHub Desktop.
FROM scratch as app
WORKDIR /app
COPY . .
RUN chmod +x docker-entrypoint.sh
FROM whatever
COPY --from=app /app .
ENTRYPOINT ["/app/docker-entrypoint.sh"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment